Merge pull request #116 from wenshao/master

修正上一次提交导致的编译错误问题
This commit is contained in:
温高铁
2012-08-28 21:39:28 -07:00
@@ -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());
}