From 09fa6bd9a6ae282d00fcfc303485160f3af3d2e6 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Mon, 21 Aug 2023 12:41:43 +0200 Subject: [PATCH] Remove non-used annotations --- server/src/main/java/access/lifecycle/Attribute.java | 2 -- server/src/main/java/access/lifecycle/LifeCycleResult.java | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/server/src/main/java/access/lifecycle/Attribute.java b/server/src/main/java/access/lifecycle/Attribute.java index f441ce4d..a2c3c7cb 100644 --- a/server/src/main/java/access/lifecycle/Attribute.java +++ b/server/src/main/java/access/lifecycle/Attribute.java @@ -5,8 +5,6 @@ @NoArgsConstructor @AllArgsConstructor @Getter -@EqualsAndHashCode -@ToString public class Attribute { private String name; diff --git a/server/src/main/java/access/lifecycle/LifeCycleResult.java b/server/src/main/java/access/lifecycle/LifeCycleResult.java index e629cec2..210e3842 100644 --- a/server/src/main/java/access/lifecycle/LifeCycleResult.java +++ b/server/src/main/java/access/lifecycle/LifeCycleResult.java @@ -10,12 +10,10 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @Getter -@EqualsAndHashCode -@ToString public class LifeCycleResult { - private String status = "OK"; - private String name = "OpenConext-access-server"; + private final String status = "OK"; + private final String name = "OpenConext-access-server"; private List data = new ArrayList<>(); public void setData(List data) {