Mark inner classes static that don't reference parent class.

This commit is contained in:
Kevin Sawicki
2011-06-29 09:34:57 -07:00
parent 6c3ec9fc14
commit 3abaf71e0a
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ public class JedisByteHashMap implements Map<byte[], byte[]>, Cloneable,
return internalMap.values();
}
private final class ByteArrayWrapper {
private static final class ByteArrayWrapper {
private final byte[] data;
public ByteArrayWrapper(byte[] data) {
@@ -110,7 +110,7 @@ public class JedisByteHashMap implements Map<byte[], byte[]>, Cloneable,
}
}
private final class JedisByteEntry implements Entry<byte[], byte[]> {
private static final class JedisByteEntry implements Entry<byte[], byte[]> {
private byte[] value;
private byte[] key;