Skip to content

Commit 61fe4fd

Browse files
shyam-anandmp911de
authored andcommitted
DATAREDIS-992 - Fix Bitwise AND to logical AND in AbstractOperations.
Bitwise AND was used instead of logical AND. Original pull request: #454.
1 parent 11093b8 commit 61fe4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/redis/core/AbstractOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ <HK> byte[][] rawHashKeys(HK... hashKeys) {
178178
@SuppressWarnings("unchecked")
179179
<HV> byte[] rawHashValue(HV value) {
180180

181-
if (hashValueSerializer() == null & value instanceof byte[]) {
181+
if (hashValueSerializer() == null && value instanceof byte[]) {
182182
return (byte[]) value;
183183
}
184184
return hashValueSerializer().serialize(value);

0 commit comments

Comments
 (0)