Skip to content

AbstractOperations: bitwise AND in place of logical AND [DATAREDIS-992] #1563

@spring-projects-issues

Description

@spring-projects-issues

Shyam Anand opened DATAREDIS-992 and commented

In org.springframework.data.redis.core.AbstractOperations, at line 181, the code is

if (hashValueSerializer() == null & value instanceof byte[]) {

 I think it should be logical AND (&&) instead of the bitwise AND (&) here


Reference URL: https://github.com/spring-projects/spring-data-redis/blob/master/src/main/java/org/springframework/data/redis/core/AbstractOperations.java

Referenced from: pull request #454, and commits 61fe4fd, 4ada49d

Backported to: 2.1.10 (Lovelace SR10)

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions