Mercurial > hg > truffle
diff graal/com.oracle.max.base/src/com/sun/max/collect/ChainedHashMapping.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.max.base/src/com/sun/max/collect/ChainedHashMapping.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.base/src/com/sun/max/collect/ChainedHashMapping.java Sun Dec 18 05:24:06 2011 +0100 @@ -328,8 +328,8 @@ setThreshold(); } - protected Entry<K, V> createEntry(int hashOfKey, K key, V value, Entry<K, V> next) { - return new DefaultEntry<K, V>(key, value, next); + protected Entry<K, V> createEntry(@SuppressWarnings("unused") int hashOfKey, K key, V value, Entry<K, V> next) { + return new DefaultEntry<>(key, value, next); } protected abstract class HashIterator<Type> implements Iterator<Type> {