[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    svn commit: r1477793 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collection
From:       sebb () apache ! org
Date:       2013-04-30 19:37:29
Message-ID: 20130430193729.BC69423888CD () eris ! apache ! org
[Download RAW message or body]

Author: sebb
Date: Tue Apr 30 19:37:29 2013
New Revision: 1477793

URL: http://svn.apache.org/r1477793
Log:
Ensure name is used

Modified:
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/MapUtilsTest.java


Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/MapUtilsTest.java
                
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/a \
pache/commons/collections4/MapUtilsTest.java?rev=1477793&r1=1477792&r2=1477793&view=diff
 ==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/MapUtilsTest.java \
                (original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/MapUtilsTest.java \
Tue Apr 30 19:37:29 2013 @@ -804,7 +804,7 @@ public class MapUtilsTest extends BulkTe
         }
 
         public int compareTo(X o) {
-            return key - o.key;
+            return key - o.key | name.compareTo(o.name);
         }
 
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic