diff --git a/transport/src/main/java/io/netty/channel/socket/aio/UnsafeAioChannelFinder.java b/transport/src/main/java/io/netty/channel/socket/aio/UnsafeAioChannelFinder.java index 9054e2157a..218b096f75 100644 --- a/transport/src/main/java/io/netty/channel/socket/aio/UnsafeAioChannelFinder.java +++ b/transport/src/main/java/io/netty/channel/socket/aio/UnsafeAioChannelFinder.java @@ -31,7 +31,7 @@ final class UnsafeAioChannelFinder implements AioChannelFinder { public AbstractAioChannel findChannel(Runnable command) throws Exception { Long offset; for (;;) { - offset = findField(command); + offset = findFieldOffset(command); if (offset == null) { return null; } @@ -43,7 +43,7 @@ final class UnsafeAioChannelFinder implements AioChannelFinder { } } - private static Long findField(Object command) throws Exception { + private static Long findFieldOffset(Object command) throws Exception { Map, Long> offsetCache = UnsafeAioChannelFinder.offsetCache; Class commandType = command.getClass(); Long res = offsetCache.get(commandType);