From dfc013986a69fdc56bdf4df7096b9841317bc5b1 Mon Sep 17 00:00:00 2001 From: laithisbaitan <80163581+laithisbaitan@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:03:45 +0200 Subject: [PATCH] fix: removed unnecessary semicolon from PodExecutor (3628) As this line is part of try catch statment. a semicolon is not needed. I couldn't sign up as requested in the contribution guide in https://accounts.eclipse.org signing up give error, "Your GitHub username is invalid" --- .../java/org/eclipse/jkube/watcher/standard/PodExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jkube-kit/watcher/standard/src/main/java/org/eclipse/jkube/watcher/standard/PodExecutor.java b/jkube-kit/watcher/standard/src/main/java/org/eclipse/jkube/watcher/standard/PodExecutor.java index 77b00941d1..7fb07b4546 100644 --- a/jkube-kit/watcher/standard/src/main/java/org/eclipse/jkube/watcher/standard/PodExecutor.java +++ b/jkube-kit/watcher/standard/src/main/java/org/eclipse/jkube/watcher/standard/PodExecutor.java @@ -71,7 +71,7 @@ void uploadChangedFilesToPod(Collection resources, File changedFile void executeCommandInPod(Collection resources, String command) throws InterruptedException, WatchException, IOException { final KubernetesClient client = watcherContext.getJKubeServiceHub().getClient(); try ( - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream() ) { final String namespace = watcherContext.getNamespace(); final ExecListenerLatch latch = new ExecListenerLatch();