FormComponent.getValue uses equals instead of == to compare NO_RAW_INPUT
------------------------------------------------------------------------

                 Key: WICKET-756
                 URL: https://issues.apache.org/jira/browse/WICKET-756
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.6
            Reporter: Willis Boyce


It looks like the "no raw input" condition is identified by the rawInput member 
actually referencing the NO_RAW_INPUT constant, not having the same string as 
NO_RAW_INPUT ("[-NO-RAW-INPUT-]").  Twice the code uses == or != to compare 
rawInput to NO_RAW_INPUT.  But once it uses the equals method instead.  This is 
probably wrong;  it should use ==.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to