Skip to content

Commit

Permalink
fix: use constant instead of repeated literal
Browse files Browse the repository at this point in the history
Signed-off-by: jonathan.vila <[email protected]>
  • Loading branch information
jonathanvila committed Jan 9, 2025
1 parent 9c67d06 commit ccc1c49
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ public abstract class KubernetesExtension {

private static final boolean DEFAULT_OFFLINE = false;
private static final String META_INF = "META-INF";
private static final Path DEFAULT_KUBERNETES_MANIFEST = Paths.get(META_INF, "jkube", "kubernetes.yml");
private static final Path DEFAULT_KUBERNETES_TEMPLATE = Paths.get(META_INF, "jkube", "kubernetes");
private static final String JKUBE = "jkube";
private static final Path DEFAULT_KUBERNETES_MANIFEST = Paths.get(META_INF, JKUBE, "kubernetes.yml");
private static final Path DEFAULT_KUBERNETES_TEMPLATE = Paths.get(META_INF, JKUBE, "kubernetes");
private static final Path DEFAULT_JSON_LOG_DIR = Paths.get(JKUBE, "applyJson");
private static final Path DEFAULT_RESOURCE_SOURCE_DIR = Paths.get("src", "main", JKUBE);
private static final Path DEFAULT_RESOURCE_TARGET_DIR = Paths.get("META-INF", JKUBE);
private static final Path DEFAULT_RESOURCE_TARGET_DIR = Paths.get(META_INF, JKUBE);
private static final Path DEFAULT_WORK_DIR = Paths.get("jkube-temp");

public transient JavaProject javaProject;
Expand Down

0 comments on commit ccc1c49

Please sign in to comment.