Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-333

::equals(Object) implementation should correctly handle null arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.4-incubating
    • Core
    • None

    Description

      As described by the findbugs report:

      This implementation of equals(Object) violates the contract defined by java.lang.Object.equals() because it does not check for null being passed as the argument. All equals() methods should return false if passed a null value.

      The various converter implementations are affected by this. Adding a null check would be very easy to include.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              acoburn Aaron Coburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: