commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r829538 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/DefaultToStringStyleTest.java
Date Sun, 25 Oct 2009 11:17:49 GMT
Author: sebb
Date: Sun Oct 25 11:17:49 2009
New Revision: 829538

URL: http://svn.apache.org/viewvc?rev=829538&view=rev
Log:
Fix some raw types

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/DefaultToStringStyleTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/DefaultToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/DefaultToStringStyleTest.java?rev=829538&r1=829537&r2=829538&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/DefaultToStringStyleTest.java
(original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/DefaultToStringStyleTest.java
Sun Oct 25 11:17:49 2009
@@ -87,10 +87,10 @@
         assertEquals(baseStr + "[a=3]", new ToStringBuilder(base).append("a", i3).toString());
         assertEquals(baseStr + "[a=3,b=4]", new ToStringBuilder(base).append("a", i3).append("b",
i4).toString());
         assertEquals(baseStr + "[a=<Integer>]", new ToStringBuilder(base).append("a",
i3, false).toString());
-        assertEquals(baseStr + "[a=<size=0>]", new ToStringBuilder(base).append("a",
new ArrayList(), false).toString());
-        assertEquals(baseStr + "[a=[]]", new ToStringBuilder(base).append("a", new ArrayList(),
true).toString());
-        assertEquals(baseStr + "[a=<size=0>]", new ToStringBuilder(base).append("a",
new HashMap(), false).toString());
-        assertEquals(baseStr + "[a={}]", new ToStringBuilder(base).append("a", new HashMap(),
true).toString());
+        assertEquals(baseStr + "[a=<size=0>]", new ToStringBuilder(base).append("a",
new ArrayList<Object>(), false).toString());
+        assertEquals(baseStr + "[a=[]]", new ToStringBuilder(base).append("a", new ArrayList<Object>(),
true).toString());
+        assertEquals(baseStr + "[a=<size=0>]", new ToStringBuilder(base).append("a",
new HashMap<Object, Object>(), false).toString());
+        assertEquals(baseStr + "[a={}]", new ToStringBuilder(base).append("a", new HashMap<Object,
Object>(), true).toString());
         assertEquals(baseStr + "[a=<size=0>]", new ToStringBuilder(base).append("a",
(Object) new String[0], false).toString());
         assertEquals(baseStr + "[a={}]", new ToStringBuilder(base).append("a", (Object) new
String[0], true).toString());
     }



Mime
View raw message