You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/12/22 21:36:22 UTC

[jira] Commented: (LANG-304) NullPointerException in isAvailableLocale(Locale)

    [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org