Skip to content

Commit

Permalink
[GSCOLLECT-1662] Fix UnifiedSet$ChainedBucket.removeLongChain() method.
Browse files Browse the repository at this point in the history
Fixes #30.

git-svn-id: svn+ssh://gscollections.svn.services.gs.com/svnroot/gscollections-svn/trunk@918 d5c9223b-1aff-41ac-aadd-f810b4a99ac4
  • Loading branch information
itohro committed Dec 16, 2015
1 parent 4fd18e9 commit bd31d1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Integer> 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,9 @@ public abstract class AbstractMutableSetTestCase extends AbstractCollectionTestC
protected static final MutableList<Integer> 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 <T> MutableSet<T> newWith(T... littleElements);
Expand Down

0 comments on commit bd31d1c

Please sign in to comment.