From c21d6f29e6ebcee8cff3316f46f7c678e734753a Mon Sep 17 00:00:00 2001 From: Zed Date: Fri, 23 Oct 2020 09:28:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=EF=BC=8Cfix:=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/third/redis/clients/jedis/Protocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {