[ 
https://issues.apache.org/jira/browse/GEODE-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Kevo resolved GEODE-7768.
-------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

> Code clean up, remove redundant null check in BootstrappingFunction
> -------------------------------------------------------------------
>
>                 Key: GEODE-7768
>                 URL: https://issues.apache.org/jira/browse/GEODE-7768
>             Project: Geode
>          Issue Type: Task
>            Reporter: Jason Huynh
>            Assignee: Mario Kevo
>            Priority: Major
>              Labels: beginner, newb, starter
>             Fix For: 1.13.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The null check in the equals method of BootstrappingFunction can be safely 
> removed.  The instanceof check will return false if the object is null.
> See here:  
> [https://github.com/apache/geode/blob/cee84bbc53c707b2ca13ca664fb3087fec1c71ed/extensions/geode-modules/src/main/java/org/apache/geode/modules/util/BootstrappingFunction.java#L194]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to