cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r1180675 - /cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/I18NTransformerTest.java
Date Sun, 09 Oct 2011 18:04:04 GMT
Author: anathaniel
Date: Sun Oct  9 18:04:04 2011
New Revision: 1180675

URL: http://svn.apache.org/viewvc?rev=1180675&view=rev
Log:
Fix warnings

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/I18NTransformerTest.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/I18NTransformerTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/I18NTransformerTest.java?rev=1180675&r1=1180674&r2=1180675&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/I18NTransformerTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/I18NTransformerTest.java
Sun Oct  9 18:04:04 2011
@@ -229,7 +229,7 @@ public final class I18NTransformerTest {
                 DocumentBuilderFactory.newInstance().newDocumentBuilder();
         final Document doc = loader.parse(resource.openStream());
 
-        final Map<String, Integer> datePatterns = new HashMap(4);
+        final Map<String, Integer> datePatterns = new HashMap<String, Integer>(4*2+1);
         datePatterns.put("SHORT", DateFormat.SHORT);
         datePatterns.put("MEDIUM", DateFormat.MEDIUM);
         datePatterns.put("LONG", DateFormat.LONG);



Mime
View raw message