Rename to the correct method name

This commit is contained in:
Trustin Lee 2012-08-29 12:04:56 +09:00
parent 9a177d99bf
commit 1b810c4be6

View File

@ -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<Class<?>, Long> offsetCache = UnsafeAioChannelFinder.offsetCache;
Class<?> commandType = command.getClass();
Long res = offsetCache.get(commandType);