From 2342df36c386e087d9d2b7d798077b67f8f53cd4 Mon Sep 17 00:00:00 2001 From: Elizabeth Healy Date: Tue, 19 Nov 2024 12:00:25 -0500 Subject: [PATCH] dont need equals null check --- sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java b/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java index 01502bba..03075664 100644 --- a/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java +++ b/sdk/src/main/java/io/opentdf/platform/sdk/Manifest.java @@ -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