diff --git a/its/src/test/java/com/sonar/maven/it/suite/JavaTest.java b/its/src/test/java/com/sonar/maven/it/suite/JavaTest.java index d207ef21..635726a7 100644 --- a/its/src/test/java/com/sonar/maven/it/suite/JavaTest.java +++ b/its/src/test/java/com/sonar/maven/it/suite/JavaTest.java @@ -133,8 +133,8 @@ void extractJdkHomeFromJre() throws IOException { Properties props = getProps(outputProps); Object value = props.getOrDefault("sonar.java.jdkHome", ""); - if(value instanceof String){ - assertThat((String)value).isNotEmpty(); + if (value instanceof String) { + assertThat((String) value).isNotEmpty(); } } @@ -154,7 +154,6 @@ void setJdkHomeFromCompilerExecutableConfiguration() throws IOException { assertThat(props).contains(entry("sonar.java.jdkHome", expected)); } - @Test void setJdkHomeFromGlobalToolchainsPlugin() throws IOException { File outputProps = temp.resolve("out.properties").toFile();