You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2010/11/20 19:47:14 UTC

[jira] Resolved: (WICKET-1945) make wicket's configuration type an enum

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

Juergen Donnerstag resolved WICKET-1945.
----------------------------------------

    Resolution: Fixed
      Assignee: Juergen Donnerstag

> 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: wicket
>            Reporter: Peter Ertl
>            Assignee: Juergen Donnerstag
>             Fix For: 1.5-M4
>
>         Attachments: RuntimeConfigurationTypesEnum.patch
>
>
> 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.