summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java')
-rw-r--r--vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java b/vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java
index e579a0cad23..98aaaf267e8 100644
--- a/vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java
+++ b/vespajlib/src/test/java/com/yahoo/collections/TinyIdentitySetTestCase.java
@@ -247,7 +247,9 @@ public final class TinyIdentitySetTestCase {
@Test
public void testSmallEmptySet() {
final TinyIdentitySet<Integer> t = new TinyIdentitySet<>(3);
- Integer a = new Integer(0), b = new Integer(1), c = new Integer(2);
+ Integer a = 0;
+ Integer b = 1;
+ Integer c = 2;
t.add(a);
t.add(b);
t.add(c);