Skip to content

Commit

Permalink
dont need equals null check
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethhealy committed Nov 19, 2024
1 parent 4541fbb commit 2342df3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public boolean equals(Object o) {
return false;
Manifest manifest = (Manifest) o;
return Objects.equals(encryptionInformation, manifest.encryptionInformation)
&& Objects.equals(payload, manifest.payload)
&& (manifest.assertions != null && Objects.equals(assertions, manifest.assertions));
&& Objects.equals(payload, manifest.payload) && Objects.equals(assertions, manifest.assertions);
}

@Override
Expand Down

0 comments on commit 2342df3

Please sign in to comment.