Skip to content

Commit

Permalink
MINOR: remove unnecessary nulllity check (apache#7282)
Browse files Browse the repository at this point in the history
Minor code enhancement: remove unnecessary check of nullity.

Reviewers: Bill Bejeck <[email protected]>
  • Loading branch information
khaireddine120 authored and bbejeck committed Sep 4, 2019
1 parent 8dc80e2 commit caaf253
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ public void put(final Bytes key, final byte[] value, final long windowStartTimes
@Override
public byte[] fetch(final Bytes key, final long timestamp) {
final byte[] bytesValue = wrapped().get(WindowKeySchema.toStoreKeyBinary(key, timestamp, seqnum));
if (bytesValue == null) {
return null;
}
return bytesValue;
}

Expand Down

0 comments on commit caaf253

Please sign in to comment.