--- jsr166/src/jsr166e/ConcurrentHashMapV8.java 2015/02/26 06:53:34 1.122 +++ jsr166/src/jsr166e/ConcurrentHashMapV8.java 2015/09/06 00:57:56 1.124 @@ -488,7 +488,7 @@ public class ConcurrentHashMapV8 ex * * Maintaining API and serialization compatibility with previous * versions of this class introduces several oddities. Mainly: We - * leave untouched but unused constructor arguments refering to + * leave untouched but unused constructor arguments referring to * concurrencyLevel. We accept a loadFactor constructor argument, * but apply it only to initial table capacity (which is the only * time that we can guarantee to honor it.) We also declare an @@ -637,10 +637,10 @@ public class ConcurrentHashMapV8 ex this.next = next; } - public final K getKey() { return key; } - public final V getValue() { return val; } - public final int hashCode() { return key.hashCode() ^ val.hashCode(); } - public final String toString(){ return key + "=" + val; } + public final K getKey() { return key; } + public final V getValue() { return val; } + public final int hashCode() { return key.hashCode() ^ val.hashCode(); } + public final String toString() { return key + "=" + val; } public final V setValue(V value) { throw new UnsupportedOperationException(); }