From df247d629d94fce5e819aa150870bfc646a77bc2 Mon Sep 17 00:00:00 2001 From: Shubhra suman <53232818+ShubhraSuman@users.noreply.github.com> Date: Sun, 9 Oct 2022 11:20:11 +0530 Subject: [PATCH 1/2] Update ConfigMap.java --- .../java/org/eclipse/jkube/kit/config/resource/ConfigMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java b/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java index 674d2da477..054026123e 100644 --- a/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java +++ b/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java @@ -19,7 +19,7 @@ public class ConfigMap { private String name; - private List entries = new ArrayList<>(); + private final List entries = new ArrayList<>(); public void addEntry(ConfigMapEntry configMapEntry) { this.entries.add(configMapEntry); From 9034c240e4a61de488342aee3743f497326ea307 Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Tue, 11 Oct 2022 19:26:33 +0200 Subject: [PATCH 2/2] to be squashed --- .../java/org/eclipse/jkube/kit/config/resource/ConfigMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java b/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java index 054026123e..ed8d634da1 100644 --- a/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java +++ b/jkube-kit/config/resource/src/main/java/org/eclipse/jkube/kit/config/resource/ConfigMap.java @@ -31,7 +31,7 @@ public List getEntries() { /** * Set the name of ConfigMap. - * @param name + * @param name the ConfigMap name */ public void setName(String name) { this.name = name;