Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7768

Code clean up, remove redundant null check in BootstrappingFunction

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13.0
    • Component/s: None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mkevo Mario Kevo
                Reporter:
                jasonhuynh Jason Huynh
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m