Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1408

ComponentFeedbackMessageFilter should use equals() method to determine equality

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.3
    • Component/s: wicket
    • Labels:
      None

      Description

      http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/feedback/ComponentFeedbackMessageFilter.java?revision=584925&view=markup

      This is pretty trivial, but I think the ComponentFeedbackMessageFilter should use the the conventional .equals() method instead of "==" to determine object equality.

      feel free to close this issue if there's a reason to be comparing object references instead of values:
      http://www.leepoint.net/notes-java/data/expressions/22compareobjects.html

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              wireframe Ryan Sonnek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: