|
|
|
@ -47,10 +47,10 @@ public class MapGetAllDecoder implements MultiDecoder<Map<Object, Object>> {
|
|
|
|
|
@Override
|
|
|
|
|
public Map<Object, Object> decode(List<Object> parts, State state) {
|
|
|
|
|
if (parts.isEmpty()) {
|
|
|
|
|
return new HashMap<Object, Object>();
|
|
|
|
|
return new HashMap<>();
|
|
|
|
|
}
|
|
|
|
|
Map<Object, Object> result = new LinkedHashMap<Object, Object>(parts.size());
|
|
|
|
|
for (int index = 0; index < args.size()-shiftIndex; index++) {
|
|
|
|
|
Map<Object, Object> result = new LinkedHashMap<>(parts.size());
|
|
|
|
|
for (int index = 0; index < parts.size()-shiftIndex; index++) {
|
|
|
|
|
Object value = parts.get(index);
|
|
|
|
|
if (!allowNulls && value == null) {
|
|
|
|
|
continue;
|
|
|
|
|