From bd31d1c74a032ee1c1f11eb5f9a5fd80f5bfad24 Mon Sep 17 00:00:00 2001 From: Hiroshi Ito Date: Wed, 16 Dec 2015 05:43:35 +0000 Subject: [PATCH] [GSCOLLECT-1662] Fix UnifiedSet$ChainedBucket.removeLongChain() method. Fixes #30. git-svn-id: svn+ssh://gscollections.svn.services.gs.com/svnroot/gscollections-svn/trunk@918 d5c9223b-1aff-41ac-aadd-f810b4a99ac4 --- .../impl/map/mutable/UnifiedMapTestCase.java | 15 +++------------ .../set/mutable/AbstractMutableSetTestCase.java | 15 +++------------ 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/unit-tests/src/test/java/com/gs/collections/impl/map/mutable/UnifiedMapTestCase.java b/unit-tests/src/test/java/com/gs/collections/impl/map/mutable/UnifiedMapTestCase.java index 9ef1aed1b..d4915e049 100644 --- a/unit-tests/src/test/java/com/gs/collections/impl/map/mutable/UnifiedMapTestCase.java +++ b/unit-tests/src/test/java/com/gs/collections/impl/map/mutable/UnifiedMapTestCase.java @@ -62,18 +62,9 @@ public abstract class UnifiedMapTestCase extends MutableMapTestCase Lists.mutable.of(COLLISION_1, COLLISION_2, COLLISION_3, COLLISION_4, COLLISION_5); protected static final MutableList MORE_COLLISIONS = FastList.newList(COLLISIONS) .with(COLLISION_6, COLLISION_7, COLLISION_8, COLLISION_9); - protected static final String[] FREQUENT_COLLISIONS = { - "\u9103\ufffe", - "\u9104\uffdf", - "\u9105\uffc0", - "\u9106\uffa1", - "\u9107\uff82", - "\u9108\uff63", - "\u9109\uff44", - "\u910a\uff25", - "\u910b\uff06", - "\u910c\ufee7" - }; + protected static final String[] FREQUENT_COLLISIONS = {"\u9103\ufffe", "\u9104\uffdf", + "\u9105\uffc0", "\u9106\uffa1", "\u9107\uff82", "\u9108\uff63", "\u9109\uff44", + "\u910a\uff25", "\u910b\uff06", "\u910c\ufee7"}; @Test public void valuesCollection_toArray() diff --git a/unit-tests/src/test/java/com/gs/collections/impl/set/mutable/AbstractMutableSetTestCase.java b/unit-tests/src/test/java/com/gs/collections/impl/set/mutable/AbstractMutableSetTestCase.java index 2805bf484..e09b28e67 100644 --- a/unit-tests/src/test/java/com/gs/collections/impl/set/mutable/AbstractMutableSetTestCase.java +++ b/unit-tests/src/test/java/com/gs/collections/impl/set/mutable/AbstractMutableSetTestCase.java @@ -69,18 +69,9 @@ public abstract class AbstractMutableSetTestCase extends AbstractCollectionTestC protected static final MutableList MORE_COLLISIONS = FastList.newList(COLLISIONS) .with(COLLISION_6, COLLISION_7, COLLISION_8, COLLISION_9); protected static final int SIZE = 8; - protected static final String[] FREQUENT_COLLISIONS = { - "\u9103\ufffe", - "\u9104\uffdf", - "\u9105\uffc0", - "\u9106\uffa1", - "\u9107\uff82", - "\u9108\uff63", - "\u9109\uff44", - "\u910a\uff25", - "\u910b\uff06", - "\u910c\ufee7" - }; + protected static final String[] FREQUENT_COLLISIONS = {"\u9103\ufffe", "\u9104\uffdf", + "\u9105\uffc0", "\u9106\uffa1", "\u9107\uff82", "\u9108\uff63", "\u9109\uff44", + "\u910a\uff25", "\u910b\uff06", "\u910c\ufee7"}; @Override protected abstract MutableSet newWith(T... littleElements);