You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/04/28 11:40:03 UTC

[jira] [Commented] (WICKET-3651) Replace EnumeratedType with java enum

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

Martin Grigorov commented on WICKET-3651:
-----------------------------------------

The cool feature of EnumeratedType is that it can be extended/inherited. I like it more than Java's enum.

> Replace EnumeratedType with java enum
> -------------------------------------
>
>                 Key: WICKET-3651
>                 URL: https://issues.apache.org/jira/browse/WICKET-3651
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core, wicket-examples, wicket-extensions
>    Affects Versions: 1.5-RC3
>            Reporter: Attila Király
>         Attachments: WICKET-3651.patch
>
>
> Most of the EnumeratedType subclasses in wicket can be replaced with Java enums. The sole exception is the Action class, but the EnumeratedType superclass is not needed there either.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira