Browse Source

Pull request #1097: 无jira任务,fix: 打包失败

Merge in CORE/base-third from ~ZED/fine-base-third:release/10.0 to release/10.0

* commit 'c21d6f29e6ebcee8cff3316f46f7c678e734753a':
  无jira任务,fix: 打包失败
release/10.0
zed 4 years ago
parent
commit
8c5ea49b81
  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