Javadoc typos
This commit is contained in:
parent
01190c61ea
commit
974e12ac42
|
@ -140,7 +140,7 @@ public class MultiKeyTest {
|
|||
mk = new MultiKey<>(keys, false);
|
||||
assertArrayEquals(new Object[]{THREE, FOUR, ONE, TWO}, mk.getKeys());
|
||||
// change key - don't do this!
|
||||
// the hashcode of the MultiKey is now broken
|
||||
// the hash code of the MultiKey is now broken
|
||||
keys[3] = FIVE;
|
||||
assertArrayEquals(new Object[]{THREE, FOUR, ONE, FIVE}, mk.getKeys());
|
||||
}
|
||||
|
|
|
@ -450,7 +450,7 @@ public class LRUMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
// always return the same hashcode
|
||||
// always return the same hash code
|
||||
// that way, it will end up in the same bucket
|
||||
return 12;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue