fix compile error

This commit is contained in:
wenshao
2012-08-29 12:38:06 +08:00
parent 95ccb66f11
commit a7ae8848fa
@@ -39,7 +39,7 @@ import java.util.concurrent.locks.ReentrantLock;
* @param <K> the type of keys maintained by this map
* @param <V> the type of mapped values
*/
public final class ConcurrentIdentityHashMap<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> {
public class ConcurrentIdentityHashMap<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> {
/**
* The default initial capacity for this table, used when not otherwise specified in a constructor.
@@ -853,7 +853,7 @@ public final class ConcurrentIdentityHashMap<K, V> extends AbstractMap<K, V> imp
* @param m mappings to be stored in this map
*/
@Override
public void putAll(Map<? extends K, ? extends V> m) {
public final void putAll(Map<? extends K, ? extends V> m) {
for (Map.Entry<? extends K, ? extends V> e : m.entrySet()) {
put(e.getKey(), e.getValue());
}