DATAREDIS-992 - Fix Bitwise AND to logical AND in AbstractOperations.
Bitwise AND was used instead of logical AND. Original pull request: #454.
This commit is contained in:
@@ -178,7 +178,7 @@ abstract class AbstractOperations<K, V> {
|
||||
@SuppressWarnings("unchecked")
|
||||
<HV> byte[] rawHashValue(HV value) {
|
||||
|
||||
if (hashValueSerializer() == null & value instanceof byte[]) {
|
||||
if (hashValueSerializer() == null && value instanceof byte[]) {
|
||||
return (byte[]) value;
|
||||
}
|
||||
return hashValueSerializer().serialize(value);
|
||||
|
||||
Reference in New Issue
Block a user