Skip to content

Commit ee4bb9a

Browse files
committed
fix build error in integration-test
1 parent 4393635 commit ee4bb9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integration-test/src/test/java/org/cloudfoundry/IntegrationTestConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import java.net.URISyntaxException;
3131
import java.net.URL;
3232
import java.nio.file.Path;
33+
import java.nio.file.Paths;
3334
import java.security.SecureRandom;
3435
import java.time.Duration;
3536
import java.util.Arrays;
@@ -269,7 +270,7 @@ Boolean configureVersionMismatchhandling(
269270
if (fileName != null) {
270271
URL url = getClass().getResource("/" + fileName);
271272
if (url != null) {
272-
Path path = Path.of(url.toURI());
273+
Path path = Paths.get(url.toURI());
273274
ObjectMapper mapper = new ObjectMapper();
274275
logger.info(
275276
"reading configuration for handling unknown properties from server from"

0 commit comments

Comments
 (0)