commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1151848 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/Languages.java
Date Thu, 28 Jul 2011 13:49:59 GMT
Author: ggregory
Date: Thu Jul 28 13:49:58 2011
New Revision: 1151848

URL: http://svn.apache.org/viewvc?rev=1151848&view=rev
Log:
Make static fields final.

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/Languages.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/Languages.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/Languages.java?rev=1151848&r1=1151847&r2=1151848&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/Languages.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/Languages.java
Thu Jul 28 13:49:58 2011
@@ -141,7 +141,7 @@ public class Languages {
     /**
      * No languages at all.
      */
-    public static LanguageSet NO_LANGUAGES = new LanguageSet() {
+    public static final LanguageSet NO_LANGUAGES = new LanguageSet() {
         @Override
         public LanguageSet restrictTo(LanguageSet other) {
             return this;
@@ -171,7 +171,7 @@ public class Languages {
     /**
      * Any/all languages.
      */
-    public static LanguageSet ANY_LANGUAGE = new LanguageSet() {
+    public static final LanguageSet ANY_LANGUAGE = new LanguageSet() {
         @Override
         public LanguageSet restrictTo(LanguageSet other) {
             return other;



Mime
View raw message