harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r567584 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/ResourceBundle.java
Date Mon, 20 Aug 2007 07:39:02 GMT
Author: leoli
Date: Mon Aug 20 00:39:01 2007
New Revision: 567584

URL: http://svn.apache.org/viewvc?rev=567584&view=rev
Log:
Apply patch for HARMONY-4625([classlib][luni]An unnecessary magic number in java.util.ResourceBundle.handleGetBundle).

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/ResourceBundle.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/ResourceBundle.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/ResourceBundle.java?rev=567584&r1=567583&r2=567584&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/ResourceBundle.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/ResourceBundle.java
Mon Aug 20 00:39:01 2007
@@ -243,7 +243,7 @@
         synchronized (cache) {
             loaderCache = cache.get(cacheKey);
             if (loaderCache == null) {
-                loaderCache = new Hashtable<String, ResourceBundle>(13);
+                loaderCache = new Hashtable<String, ResourceBundle>();
                 cache.put(cacheKey, loaderCache);
             }
         }



Mime
View raw message