[ 
https://issues.apache.org/jira/browse/WICKET-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Willis Boyce updated WICKET-756:
--------------------------------

    Priority: Trivial  (was: Major)

> 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
>            Priority: Trivial
>
> 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