Browse Source

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

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

* commit '8c5ea49b81814fe285efe63a105c4a51e3252bf3':
  无jira任务,fix: 打包失败
research/11.0
zed 4 years ago
parent
commit
073885cb21
  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