From 8e95c4c8151dca5c12deb2f81042732717803801 Mon Sep 17 00:00:00 2001 From: seokhyeon <114850357+fr35wo@users.noreply.github.com> Date: Mon, 16 Sep 2024 20:56:05 +0900 Subject: [PATCH] refactor: move @Getter annotation to class level in Config enum BaseEnricherTest (3384) refactor: Move @Getter annotation to class level in Config enum - Removed @Getter annotations from fields key and defaultValue. - Added @Getter annotation at the class level to generate getters for all fields. - Ensured BaseEnricherTest passes after the changes. --- .../org/eclipse/jkube/kit/enricher/api/BaseEnricherTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/BaseEnricherTest.java b/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/BaseEnricherTest.java index 9551d6b481..095cdd2eba 100644 --- a/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/BaseEnricherTest.java +++ b/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/BaseEnricherTest.java @@ -48,11 +48,11 @@ class BaseEnricherTest { private static class TestEnricher extends BaseEnricher { @AllArgsConstructor + @Getter public enum Config implements Configs.Config { TEST_PROPERTY("testProperty", null); - @Getter + private final String key; - @Getter private final String defaultValue; } public TestEnricher(EnricherContext enricherContext) {