commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-887) Code in FastDateParser broken
Date Thu, 16 May 2013 21:11:16 GMT

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

Thomas Neidhart resolved LANG-887.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.3)
                   3.2

fixed in r1483568.
                
> Code in FastDateParser broken
> -----------------------------
>
>                 Key: LANG-887
>                 URL: https://issues.apache.org/jira/browse/LANG-887
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Henri Yandell
>             Fix For: 3.2
>
>
> Findbugs noticed that:
>   "Integer is incompatible with expected argument type java.util.Locale in org.apache.commons.lang3.time.FastDateParser.getLocaleSpecificStrategy(int,
Calendar)"
> Line 500:
>   500         Strategy strategy= cache.get(Integer.valueOf(field));
> The type of the map is <Locale,Strategy>, Integer makes no sense.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message