You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Mario Kevo (Jira)" <ji...@apache.org> on 2020/02/14 09:11:00 UTC

[jira] [Assigned] (GEODE-7768) Code clean up, remove redundant null check in BootstrappingFunction

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

Mario Kevo reassigned GEODE-7768:
---------------------------------

    Assignee: Mario Kevo

> 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
>
> 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)