[ 
https://issues.apache.org/jira/browse/WICKET-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649388#action_12649388
 ] 

Peter Ertl commented on WICKET-1945:
------------------------------------

the best location for the enum would probably be an inner public enum of 
org.apache.wicket.Application

> make wicket's configuration type an enum
> ----------------------------------------
>
>                 Key: WICKET-1945
>                 URL: https://issues.apache.org/jira/browse/WICKET-1945
>             Project: Wicket
>          Issue Type: Improvement
>          Components: site
>            Reporter: Peter Ertl
>
> I would suggest that (starting with wicket 1.5.x) the wicket configuration 
> type should be converted to an enum.
> current:
>   String org.apache.wicket.Application.getConfigurationType()
> future:
>     ConfigurationType org.apache.wicket.Application.getConfigurationType()
> ------------
>   package org.apache.wicket;
>   public enum ConfigurationType
>   {
>     DEVELOPMENT, DEPLOYMENT
>   }
> enum have a lot of benefits, e.g. cover all cases in a case block or having 
> no upper- or lower-case inconsistencies.

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