WebPage.onAfterRender compares configurationType String using ==  operator, not 
equals method
---------------------------------------------------------------------------------------------

                 Key: WICKET-1636
                 URL: https://issues.apache.org/jira/browse/WICKET-1636
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.4-M1, 1.3.3
            Reporter: Max Bowsher


See 
http://svn.apache.org/repos/asf/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/WebPage.java
 onAfterRender method, line reading:

{code}
                if (getApplication().getConfigurationType() == 
Application.DEVELOPMENT)
{code}

A String is being compared for identity, not equality, which is incorrect.

-- 
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