Uploaded image for project: 'Java'
  1. Java
  2. SONARJAVA-300

Rule : Method "boolean equals(Object obj)" inherited from java.lang.Object should not be overloaded

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Rules
    • Labels:
      None

      Activity

      Hide
      dinesh.bolkensteyn Dinesh Bolkensteyn added a comment -

      Done!

      Show
      dinesh.bolkensteyn Dinesh Bolkensteyn added a comment - Done!
      Hide
      dinesh.bolkensteyn Dinesh Bolkensteyn added a comment -

      This is the winner ticket, with 7 replaces!

      Show
      dinesh.bolkensteyn Dinesh Bolkensteyn added a comment - This is the winner ticket, with 7 replaces!
      Hide
      freddy.mallet Freddy Mallet added a comment -

      Manually tested !

      Show
      freddy.mallet Freddy Mallet added a comment - Manually tested !
      Hide
      dinesh.bolkensteyn Dinesh Bolkensteyn added a comment -

      FYI, the JDK does overload the equals() method with some specific types, and then forwards from equals(Object) to that specific method (i.e. it does the dispatching itself).

      Show
      dinesh.bolkensteyn Dinesh Bolkensteyn added a comment - FYI, the JDK does overload the equals() method with some specific types, and then forwards from equals(Object) to that specific method (i.e. it does the dispatching itself).

        People

        • Assignee:
          dinesh.bolkensteyn Dinesh Bolkensteyn
          Reporter:
          freddy.mallet Freddy Mallet
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: