|
|
|
@ -17,7 +17,7 @@ package org.redisson.connection.decoder;
|
|
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.util.Collections;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.LinkedHashMap;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
@ -57,7 +57,7 @@ public class MapGetAllDecoder implements MultiDecoder<Map<Object, Object>> {
|
|
|
|
|
if (parts.isEmpty()) {
|
|
|
|
|
return Collections.emptyMap();
|
|
|
|
|
}
|
|
|
|
|
Map<Object, Object> result = new HashMap<Object, Object>(parts.size());
|
|
|
|
|
Map<Object, Object> result = new LinkedHashMap<Object, Object>(parts.size());
|
|
|
|
|
for (int index = 0; index < args.size()-shiftIndex; index++) {
|
|
|
|
|
Object value = parts.get(index);
|
|
|
|
|
if (!allowNulls && value == null) {
|
|
|
|
|