Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.