From a7ae8848fabd6fc4d7c0ee04d80eadc9ec02d43b Mon Sep 17 00:00:00 2001 From: wenshao Date: Wed, 29 Aug 2012 12:38:06 +0800 Subject: [PATCH] fix compile error --- .../com/alibaba/druid/util/ConcurrentIdentityHashMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); }