DATAREDIS-971 - Fix BitFieldType initialization through BitFieldSubCommands.signed().

We now initialize with the correct signed preference.

Original pull request: #447.
This commit is contained in:
Qiang Lee
2019-04-17 15:24:49 +08:00
committed by Mark Paluch
parent bf7095d645
commit 2bc6aa8706

View File

@@ -447,7 +447,7 @@ public class BitFieldSubCommands implements Iterable<BitFieldSubCommand> {
* @return
*/
public static BitFieldType signed(int bits) {
return new BitFieldType(false, bits);
return new BitFieldType(true, bits);
}
/**