Browse Source

Merge pull request #1103 in CORE/base-third from feature/10.0 to research/10.0

* commit '79ee124e4197d5459577affca90e213642f5f27a':
  无jira任务,fix: 打包失败
research/10.0
superman 4 years ago
parent
commit
77af04e2d9
  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