Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2675

Missing check for null parameter in equals()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.4.2, 3.0.0
    • None
    • None

    Description

      In classes CandidatePath at line 184,CriteriaQueryImpl at line 738, Extensions at line 440 and StoreFacadeTypeRegistry at line 108 there is equals method that there is no check for null parameter.
      According javadoc for Object equals method:
      For any non-null reference value x, x.equals(null) should return false.

      Attachments

        Activity

          People

            struberg Mark Struberg
            kal0ian Kaloyan Spiridonov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: