diff --git a/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java b/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java index b1d03c5305..1b7b8ca1da 100644 --- a/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java +++ b/src/main/java/com/alibaba/druid/util/ConcurrentIdentityHashMap.java @@ -39,7 +39,7 @@ import java.util.concurrent.locks.ReentrantLock; * @param the type of keys maintained by this map * @param the type of mapped values */ -public final class ConcurrentIdentityHashMap extends AbstractMap implements ConcurrentMap { +public class ConcurrentIdentityHashMap extends AbstractMap implements ConcurrentMap { /** * The default initial capacity for this table, used when not otherwise specified in a constructor. @@ -853,7 +853,7 @@ public final class ConcurrentIdentityHashMap extends AbstractMap imp * @param m mappings to be stored in this map */ @Override - public void putAll(Map m) { + public final void putAll(Map m) { for (Map.Entry e : m.entrySet()) { put(e.getKey(), e.getValue()); }