Remove dead comments.
This commit is contained in:
parent
7c4a4994cb
commit
ad99cf8c17
|
@ -111,7 +111,6 @@ public class ReferenceIdentityMapTest<K, V> extends AbstractIterableMapTest<K, V
|
||||||
return new IdentityMap<>();
|
return new IdentityMap<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
/*
|
/*
|
||||||
// Tests often fail because gc is uncontrollable
|
// Tests often fail because gc is uncontrollable
|
||||||
|
|
||||||
|
@ -226,7 +225,7 @@ public class ReferenceIdentityMapTest<K, V> extends AbstractIterableMapTest<K, V
|
||||||
public ReferenceIdentityMap<K, V> makeObject() {
|
public ReferenceIdentityMap<K, V> makeObject() {
|
||||||
return new ReferenceIdentityMap<>(ReferenceStrength.WEAK, ReferenceStrength.WEAK);
|
return new ReferenceIdentityMap<>(ReferenceStrength.WEAK, ReferenceStrength.WEAK);
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void testBasics() {
|
public void testBasics() {
|
||||||
final IterableMap<K, V> map = new ReferenceIdentityMap<>(ReferenceStrength.HARD, ReferenceStrength.HARD);
|
final IterableMap<K, V> map = new ReferenceIdentityMap<>(ReferenceStrength.HARD, ReferenceStrength.HARD);
|
||||||
|
@ -260,7 +259,6 @@ public class ReferenceIdentityMapTest<K, V> extends AbstractIterableMapTest<K, V
|
||||||
assertEquals(true, map.containsValue(I2B));
|
assertEquals(true, map.containsValue(I2B));
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void testHashEntry() {
|
public void testHashEntry() {
|
||||||
final IterableMap<K, V> map = new ReferenceIdentityMap<>(ReferenceStrength.HARD, ReferenceStrength.HARD);
|
final IterableMap<K, V> map = new ReferenceIdentityMap<>(ReferenceStrength.HARD, ReferenceStrength.HARD);
|
||||||
|
@ -278,7 +276,6 @@ public class ReferenceIdentityMapTest<K, V> extends AbstractIterableMapTest<K, V
|
||||||
assertEquals(false, entry1.equals(entry3));
|
assertEquals(false, entry1.equals(entry3));
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void testNullHandling() {
|
public void testNullHandling() {
|
||||||
resetFull();
|
resetFull();
|
||||||
|
|
Loading…
Reference in New Issue