diff --git a/test-frame-common/src/main/java/io/skodjob/testframe/executor/ExecBuilder.java b/test-frame-common/src/main/java/io/skodjob/testframe/executor/ExecBuilder.java index fb3cea3..7cf8b06 100644 --- a/test-frame-common/src/main/java/io/skodjob/testframe/executor/ExecBuilder.java +++ b/test-frame-common/src/main/java/io/skodjob/testframe/executor/ExecBuilder.java @@ -25,7 +25,7 @@ public class ExecBuilder { /** * Constructor */ - public ExecBuilder() { } + public ExecBuilder() {} /** * Sets the command to execute. diff --git a/test-frame-common/src/main/java/io/skodjob/testframe/interfaces/ResourceType.java b/test-frame-common/src/main/java/io/skodjob/testframe/interfaces/ResourceType.java index 2ba56e6..b33f45e 100644 --- a/test-frame-common/src/main/java/io/skodjob/testframe/interfaces/ResourceType.java +++ b/test-frame-common/src/main/java/io/skodjob/testframe/interfaces/ResourceType.java @@ -23,7 +23,6 @@ public interface ResourceType { */ NonNamespaceOperation getClient(); - /** * Kind of api resource * diff --git a/test-frame-common/src/main/java/io/skodjob/testframe/utils/ImageUtils.java b/test-frame-common/src/main/java/io/skodjob/testframe/utils/ImageUtils.java index e9ea2cf..1184786 100644 --- a/test-frame-common/src/main/java/io/skodjob/testframe/utils/ImageUtils.java +++ b/test-frame-common/src/main/java/io/skodjob/testframe/utils/ImageUtils.java @@ -16,6 +16,10 @@ public class ImageUtils { private static final Logger LOGGER = LogManager.getLogger(ImageUtils.class); + private ImageUtils() { + // Private constructor to prevent instantiation + } + private static final Pattern IMAGE_PATTERN_FULL_PATH = Pattern.compile("^(?[^/]*)/(?[^/]*)/(?[^:]*):(?.*)$"); private static final Pattern IMAGE_PATTERN = Pattern.compile("^(?[^/]*)/(?[^:]*):(?.*)$"); diff --git a/test-frame-common/src/main/java/io/skodjob/testframe/utils/KubeUtils.java b/test-frame-common/src/main/java/io/skodjob/testframe/utils/KubeUtils.java index 1dbcb37..576be96 100644 --- a/test-frame-common/src/main/java/io/skodjob/testframe/utils/KubeUtils.java +++ b/test-frame-common/src/main/java/io/skodjob/testframe/utils/KubeUtils.java @@ -22,6 +22,7 @@ public final class KubeUtils { private static final Logger LOGGER = LogManager.getLogger(KubeUtils.class); private KubeUtils() { + // Private constructor to prevent instantiation } /** diff --git a/test-frame-common/src/main/java/io/skodjob/testframe/utils/TestFrameUtils.java b/test-frame-common/src/main/java/io/skodjob/testframe/utils/TestFrameUtils.java index 4ad72c4..e3d910d 100644 --- a/test-frame-common/src/main/java/io/skodjob/testframe/utils/TestFrameUtils.java +++ b/test-frame-common/src/main/java/io/skodjob/testframe/utils/TestFrameUtils.java @@ -35,6 +35,7 @@ public final class TestFrameUtils { public static final TimeUnit DEFAULT_TIMEOUT_UNIT = TimeUnit.SECONDS; private TestFrameUtils() { + // Private constructor to prevent instantiation } /**