Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
erwan-serandour committed Oct 28, 2024
1 parent c407e62 commit 926e982
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions its/src/test/java/com/sonar/maven/it/suite/JavaTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand All @@ -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();
Expand Down

0 comments on commit 926e982

Please sign in to comment.