[ http://issues.apache.org/jira/browse/LANG-304?page=comments#action_12460584 ] Henri Yandell commented on LANG-304: ------------------------------------
svn ci -m "Applying test for LANG-304 and fix to LocaleUtils" src/ Sending src/java/org/apache/commons/lang/LocaleUtils.java Sending src/test/org/apache/commons/lang/LocaleUtilsTest.java Transmitting file data .. Committed revision 489749. > NullPointerException in isAvailableLocale(Locale) > ------------------------------------------------- > > Key: LANG-304 > URL: http://issues.apache.org/jira/browse/LANG-304 > Project: Commons Lang > Issue Type: Bug > Affects Versions: 2.2 > Reporter: Henri Yandell > Fix For: 2.3 > > > FindBugs pointed out: > UwF: Field not initialized in constructor: > org.apache.commons.lang.LocaleUtils.cAvailableLocaleSet > cAvailableSet is used directly once in the source - and if > availableLocaleSet() hasn't been called it will cause a NullPointerException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
