comparison 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
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
326 table = Utils.cast(type, new Entry[1]); 326 table = Utils.cast(type, new Entry[1]);
327 numberOfEntries = 0; 327 numberOfEntries = 0;
328 setThreshold(); 328 setThreshold();
329 } 329 }
330 330
331 protected Entry<K, V> createEntry(int hashOfKey, K key, V value, Entry<K, V> next) { 331 protected Entry<K, V> createEntry(@SuppressWarnings("unused") int hashOfKey, K key, V value, Entry<K, V> next) {
332 return new DefaultEntry<K, V>(key, value, next); 332 return new DefaultEntry<>(key, value, next);
333 } 333 }
334 334
335 protected abstract class HashIterator<Type> implements Iterator<Type> { 335 protected abstract class HashIterator<Type> implements Iterator<Type> {
336 336
337 /** 337 /**