Ray Milkey
Committed by Brian O'Connor

Fix bug where the values of keys could change

Change-Id: I34993c413c3f928690701a055ec38c1e7029b473
...@@ -17,7 +17,6 @@ package org.onosproject.sdnip; ...@@ -17,7 +17,6 @@ package org.onosproject.sdnip;
17 17
18 import com.google.common.collect.Sets; 18 import com.google.common.collect.Sets;
19 import org.junit.Before; 19 import org.junit.Before;
20 -import org.junit.Ignore;
21 import org.junit.Test; 20 import org.junit.Test;
22 import org.onlab.junit.TestUtils; 21 import org.onlab.junit.TestUtils;
23 import org.onlab.junit.TestUtils.TestUtilsException; 22 import org.onlab.junit.TestUtils.TestUtilsException;
......
...@@ -90,7 +90,7 @@ public class Key { ...@@ -90,7 +90,7 @@ public class Key {
90 private static final class LongKey extends Key { 90 private static final class LongKey extends Key {
91 91
92 private final ApplicationId appId; 92 private final ApplicationId appId;
93 - private static long key; 93 + private final long key;
94 94
95 private LongKey(long key, ApplicationId appId) { 95 private LongKey(long key, ApplicationId appId) {
96 super(HASH_FN.newHasher() 96 super(HASH_FN.newHasher()
......