From bf549669282e4180e6aa11a19d0c0b04071b6966 Mon Sep 17 00:00:00 2001 From: Jonathan Vila Date: Wed, 4 Dec 2024 11:52:32 +0100 Subject: [PATCH] fix: removed declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body (3579) fix: removed declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body --- Merge branch 'eclipse-jkube:master' into sonar-ai-codefix --- .../maven/plugin/mojo/build/OpenShiftHelmUninstallMojoTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift-maven-plugin/plugin/src/test/java/org/eclipse/jkube/maven/plugin/mojo/build/OpenShiftHelmUninstallMojoTest.java b/openshift-maven-plugin/plugin/src/test/java/org/eclipse/jkube/maven/plugin/mojo/build/OpenShiftHelmUninstallMojoTest.java index d847f8a586..f889c3f2af 100644 --- a/openshift-maven-plugin/plugin/src/test/java/org/eclipse/jkube/maven/plugin/mojo/build/OpenShiftHelmUninstallMojoTest.java +++ b/openshift-maven-plugin/plugin/src/test/java/org/eclipse/jkube/maven/plugin/mojo/build/OpenShiftHelmUninstallMojoTest.java @@ -89,7 +89,7 @@ void tearDown() { @Test @DisplayName("Helm release installed on Kuberentes cluster, then uninstall helm release") - void execute_whenReleasePresent_shouldUninstallChartFromKubernetesCluster() throws MojoExecutionException, MojoFailureException, IOException { + void execute_whenReleasePresent_shouldUninstallChartFromKubernetesCluster() throws MojoExecutionException, MojoFailureException { // Given openShiftHelmUninstallMojo.init(); openShiftHelmUninstallMojo.jkubeServiceHub.getHelmService().install(openShiftHelmUninstallMojo.helm);