From 0ce0af5f7191d3121c44d69715adea267a338659 Mon Sep 17 00:00:00 2001 From: Grace Pigeau <122994497+grapigeau@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:43:52 -0400 Subject: [PATCH] Update plugin-nabu/src/main/java/ca/on/oicr/gsi/shesmu/nabu/ArchiveCaseAction.java Co-authored-by: avarsava <17747491+avarsava@users.noreply.github.com> --- .../ca/on/oicr/gsi/shesmu/nabu/ArchiveCaseAction.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugin-nabu/src/main/java/ca/on/oicr/gsi/shesmu/nabu/ArchiveCaseAction.java b/plugin-nabu/src/main/java/ca/on/oicr/gsi/shesmu/nabu/ArchiveCaseAction.java index 7aadc718a..bf2444837 100644 --- a/plugin-nabu/src/main/java/ca/on/oicr/gsi/shesmu/nabu/ArchiveCaseAction.java +++ b/plugin-nabu/src/main/java/ca/on/oicr/gsi/shesmu/nabu/ArchiveCaseAction.java @@ -124,13 +124,7 @@ public void generateUUID(Consumer digest) { @Override public int hashCode() { - final var prime = 31; - var result = 1; - result = prime * result + (owner == null ? 0 : owner.hashCode()); - result = prime * result + (caseId == null ? 0 : caseId.hashCode()); - result = prime * result + (limsIds == null ? 0 : limsIds.hashCode()); - result = prime * result + Long.hashCode(requisitionId); - return result; + return Objects.hash(owner, caseId, limsIds, requisitionId); } private String createRequestBody() {