You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2007/10/31 05:04:33 UTC

svn commit: r590552 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java

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.