myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TRINIDAD-2117) NullEnumeration type mismatch in config.external
Date Sun, 17 Jul 2011 19:52:59 GMT

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

Scott O'Bryan resolved TRINIDAD-2117.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1

I've patched the NullEnumeration to be of type Enumeration<String>.

> NullEnumeration type mismatch in config.external
> ------------------------------------------------
>
>                 Key: TRINIDAD-2117
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2117
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Scott O'Bryan
>            Assignee: Scott O'Bryan
>             Fix For: 2.0.1
>
>
> The NullEnumeration implements Enumeration<Object>, yet it is used only in an API
which requires an Enumeration<String>.  I can only assume that the @IgnoreWarnings("unchecked")
annotation is what allows this to be compiled correctly, but I've found an environment or
two where the compile fails.

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

        

Mime
View raw message