Browse Source

无jira任务,fix: 打包失败

release/10.0
zed 4 years ago
parent
commit
c21d6f29e6
  1. 4
      fine-jedis/src/main/java/com/fr/third/redis/clients/jedis/Protocol.java

4
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<String, String> mapping) {
public static synchronized void initCommandMapping(final Map<String, String> mapping) {
commandMapping.clear();
for (Map.Entry<String, String> entry : mapping.entrySet()) {
for (final Map.Entry<String, String> entry : mapping.entrySet()) {
ProtocolCommand defaultCommand = Command.fromName(entry.getKey());
if (defaultCommand != null) {
commandMapping.put(defaultCommand, new ProtocolCommand() {

Loading…
Cancel
Save