style: code simplification

Resolves #1129
This commit is contained in:
Romain
2024-03-23 18:26:41 +01:00
committed by Oleg Zhurakousky
parent 7969d06fc8
commit f9954d7dbd
4 changed files with 12 additions and 18 deletions

View File

@@ -113,7 +113,10 @@ final public class LocalServerTestSupport {
assertThat(javaHome.exists()).isTrue();
File javaBin = new File(javaHome, "bin");
File javaCommand = new File(javaBin, "java");
File javaCommand = new File(javaBin, "java.exe");
if (!javaCommand.exists()) {
javaCommand = new File(javaBin, "java");
}
assertThat(javaCommand.exists()).isTrue();
return javaCommand.toString();

View File

@@ -31,7 +31,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-kotlin</artifactId>
<version>4.1.0-SNAPSHOT</version>
<version>4.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>