refactoring

pull/6047/head
Nikita Koksharov 6 months ago
parent a965b77263
commit 72da4a1fd8

@ -192,8 +192,8 @@ public class RedissonGeo<V> extends RedissonScoredSortedSet<V> implements RGeo<V
for (Object member : members) {
encode(params, member);
}
RedisCommand<Map<Object, Object>> command = new RedisCommand<Map<Object, Object>>("GEOHASH",
new MapGetAllDecoder((List<Object>) Arrays.asList(members), 0));
RedisCommand<Map<Object, Object>> command = new RedisCommand<>("GEOHASH",
new MapGetAllDecoder(Arrays.asList(members), 0));
return commandExecutor.readAsync(getRawName(), StringCodec.INSTANCE, command, params.toArray());
}

Loading…
Cancel
Save