Merge pull request #173 from kevinsawicki/jedis

---

This was discovered by running [findbugs](http://findbugs.sourceforge.net/) against the Jedis source.
This commit is contained in:
Eric Hauser
2011-09-12 22:57:16 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ public abstract class ShardedJedisPipeline {
private BinaryShardedJedis jedis;
private List<FutureResult> results = new ArrayList<FutureResult>();
private class FutureResult {
private static class FutureResult {
private Client client;
public FutureResult(Client client) {

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;