|
|
@ -42,7 +42,7 @@ public class SlotsDecoder implements MultiDecoder<Object> {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Object decode(List<Object> parts, State state) {
|
|
|
|
public Object decode(List<Object> parts, State state) {
|
|
|
|
if (parts.get(0) instanceof List) {
|
|
|
|
if (!parts.isEmpty() && parts.get(0) instanceof List) {
|
|
|
|
Map<ClusterSlotRange, Set<String>> result = new HashMap<>();
|
|
|
|
Map<ClusterSlotRange, Set<String>> result = new HashMap<>();
|
|
|
|
List<List<Object>> rows = (List<List<Object>>) (Object) parts;
|
|
|
|
List<List<Object>> rows = (List<List<Object>>) (Object) parts;
|
|
|
|
for (List<Object> row : rows) {
|
|
|
|
for (List<Object> row : rows) {
|
|
|
|