From b48f75aefcb4619f7f9a4fac92dad759ec1768f3 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 16 Aug 2023 09:53:22 +0200 Subject: [PATCH] Revert output changes in BitField #2481 --- src/main/java/io/lettuce/core/RedisCommandBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/lettuce/core/RedisCommandBuilder.java b/src/main/java/io/lettuce/core/RedisCommandBuilder.java index e6835ece4d..5fe86772a4 100644 --- a/src/main/java/io/lettuce/core/RedisCommandBuilder.java +++ b/src/main/java/io/lettuce/core/RedisCommandBuilder.java @@ -273,7 +273,7 @@ Command> bitfield(K key, BitFieldArgs bitFieldArgs) { bitFieldArgs.build(args); - return createCommand(BITFIELD, (CommandOutput) new IntegerListOutput<>(LongCodec.INSTANCE), args); + return createCommand(BITFIELD, (CommandOutput) new ArrayOutput<>(codec), args); } Command>> bitfieldValue(K key, BitFieldArgs bitFieldArgs) { @@ -285,7 +285,7 @@ Command>> bitfieldValue(K key, BitFieldArgs bitFieldArgs) bitFieldArgs.build(args); - return createCommand(BITFIELD, (CommandOutput) new ValueValueListOutput<>(LongCodec.INSTANCE), args); + return createCommand(BITFIELD, (CommandOutput) new ValueValueListOutput<>(codec), args); } Command bitopAnd(K destination, K... keys) {