Skip to content

Commit

Permalink
DATAREDIS-1212 - Remove redundant null-check in RedisKeyValueAdapter.
Browse files Browse the repository at this point in the history
Original pull request: #559.
  • Loading branch information
theigl authored and mp911de committed Oct 16, 2020
1 parent 71c0b81 commit 588bf0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ public void onMessage(Message message, @Nullable byte[] pattern) {

private boolean isKeyExpirationMessage(Message message) {

if (message == null || message.getChannel() == null || message.getBody() == null) {
if (message == null) {
return false;
}

Expand Down

0 comments on commit 588bf0a

Please sign in to comment.