Skip to content

Commit 24bfe50

Browse files
committed
Fix checkstyle violation
See gh-40549
1 parent 8457fc3 commit 24bfe50

File tree

1 file changed

+2
-3
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/net/protocol/nested

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/net/protocol/nested/NestedLocation.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,8 @@ private static NestedLocation create(String location) {
106106
}
107107

108108
private static Path asPath(String locationPath) {
109-
return pathCache.computeIfAbsent(locationPath, (key) -> {
110-
return Path.of((!isWindows()) ? locationPath : fixWindowsLocationPath(locationPath));
111-
});
109+
return pathCache.computeIfAbsent(locationPath,
110+
(key) -> Path.of((!isWindows()) ? locationPath : fixWindowsLocationPath(locationPath)));
112111
}
113112

114113
private static boolean isWindows() {

0 commit comments

Comments
 (0)