commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r638079 - /commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
Date Mon, 17 Mar 2008 21:52:23 GMT
Author: sebb
Date: Mon Mar 17 14:52:21 2008
New Revision: 638079

URL: http://svn.apache.org/viewvc?rev=638079&view=rev
Log:
Need to use an OrderedMap in order to guarantee ordering for this test ;-)

Modified:
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java?rev=638079&r1=638078&r2=638079&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
(original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
Mon Mar 17 14:52:21 2008
@@ -312,7 +312,7 @@
         assertEquals("testInsert2v", lom.getValue(2));
 
         // Create New Test Map and Add using putAll(int, Object, Object)
-        Map values = new HashMap();
+        Map values = new ListOrderedMap();
         values.put("NewInsert0", "NewInsert0v");
         values.put("NewInsert1", "NewInsert1v");
         lom.putAll(1, values);



Mime
View raw message