diff --git a/fine-jedis/src/main/java/com/fr/third/redis/clients/jedis/Protocol.java b/fine-jedis/src/main/java/com/fr/third/redis/clients/jedis/Protocol.java index 347961433..31036953f 100644 --- a/fine-jedis/src/main/java/com/fr/third/redis/clients/jedis/Protocol.java +++ b/fine-jedis/src/main/java/com/fr/third/redis/clients/jedis/Protocol.java @@ -85,10 +85,10 @@ public final class Protocol { public static volatile int commandMappingSize = 0; - public static synchronized void initCommandMapping(Map mapping) { + public static synchronized void initCommandMapping(final Map mapping) { commandMapping.clear(); - for (Map.Entry entry : mapping.entrySet()) { + for (final Map.Entry entry : mapping.entrySet()) { ProtocolCommand defaultCommand = Command.fromName(entry.getKey()); if (defaultCommand != null) { commandMapping.put(defaultCommand, new ProtocolCommand() {