Skip to content

Commit

Permalink
refactor: use lombok annotations in ConfigMap
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Satya <work.rohitsatya@gmail.com>
  • Loading branch information
rohit-satya committed Apr 26, 2024
1 parent ae8c283 commit 41b05b4
Showing 1 changed file with 5 additions and 19 deletions.
Expand Up @@ -13,9 +13,14 @@
*/
package org.eclipse.jkube.kit.config.resource;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class ConfigMap {

private String name;
Expand All @@ -25,25 +30,6 @@ public void addEntry(ConfigMapEntry configMapEntry) {
this.entries.add(configMapEntry);
}

public List<ConfigMapEntry> getEntries() {
return entries;
}

/**
* Set the name of ConfigMap.
* @param name the ConfigMap name
*/
public void setName(String name) {
this.name = name;
}

/**
* Return the name of ConfigMap.
* @return
*/
public String getName() {
return name;
}
}


0 comments on commit 41b05b4

Please sign in to comment.