commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r590552 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
Date Wed, 31 Oct 2007 04:04:33 GMT
Author: bayard
Date: Tue Oct 30 21:04:32 2007
New Revision: 590552

URL: http://svn.apache.org/viewvc?rev=590552&view=rev
Log:
Making the HashMaps final as per LANG-367

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java?rev=590552&r1=590551&r2=590552&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java Tue
Oct 30 21:04:32 2007
@@ -107,11 +107,11 @@
     
     private static String cDefaultPattern;
 
-    private static Map cInstanceCache = new HashMap(7);
-    private static Map cDateInstanceCache = new HashMap(7);
-    private static Map cTimeInstanceCache = new HashMap(7);
-    private static Map cDateTimeInstanceCache = new HashMap(7);
-    private static Map cTimeZoneDisplayCache = new HashMap(7);
+    private static final Map cInstanceCache = new HashMap(7);
+    private static final Map cDateInstanceCache = new HashMap(7);
+    private static final Map cTimeInstanceCache = new HashMap(7);
+    private static final Map cDateTimeInstanceCache = new HashMap(7);
+    private static final Map cTimeZoneDisplayCache = new HashMap(7);
 
     /**
      * The pattern.



Mime
View raw message