diff --git a/src/main/java/org/jboss/netty/channel/local/LocalChannelRegistry.java b/src/main/java/org/jboss/netty/channel/local/LocalChannelRegistry.java index d8533882f6..73b3aa8c6e 100644 --- a/src/main/java/org/jboss/netty/channel/local/LocalChannelRegistry.java +++ b/src/main/java/org/jboss/netty/channel/local/LocalChannelRegistry.java @@ -25,7 +25,7 @@ package org.jboss.netty.channel.local; import java.util.concurrent.ConcurrentMap; import org.jboss.netty.channel.Channel; -import org.jboss.netty.util.ConcurrentIdentityHashMap; +import org.jboss.netty.util.ConcurrentHashMap; /** * @author The Netty Project (netty-dev@lists.jboss.org) @@ -35,7 +35,7 @@ import org.jboss.netty.util.ConcurrentIdentityHashMap; final class LocalChannelRegistry { private static final ConcurrentMap map = - new ConcurrentIdentityHashMap(); + new ConcurrentHashMap(); static boolean isRegistered(LocalAddress address) { return map.containsKey(address);