Mercurial > hg > truffle
comparison graal/com.oracle.max.base/src/com/sun/max/collect/HashEntryChainedHashMapping.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 |
---|---|
80 super(); | 80 super(); |
81 } | 81 } |
82 | 82 |
83 @Override | 83 @Override |
84 protected Entry<K, V> createEntry(int hashOfKey, K key, V value, Entry<K, V> next) { | 84 protected Entry<K, V> createEntry(int hashOfKey, K key, V value, Entry<K, V> next) { |
85 return new HashEntryChainedHashMapping.HashEntry<K, V>(hashOfKey, key, value, next); | 85 return new HashEntryChainedHashMapping.HashEntry<>(hashOfKey, key, value, next); |
86 } | 86 } |
87 | 87 |
88 @Override | 88 @Override |
89 protected boolean matches(Entry<K, V> entry, K key, int hashForKey) { | 89 protected boolean matches(Entry<K, V> entry, K key, int hashForKey) { |
90 final K entryKey = entry.key(); | 90 final K entryKey = entry.key(); |