Ensure name is used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d403368879
commit
d31ea317a5
|
@ -804,7 +804,7 @@ public class MapUtilsTest extends BulkTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int compareTo(X o) {
|
public int compareTo(X o) {
|
||||||
return key - o.key;
|
return key - o.key | name.compareTo(o.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue