Browse Source

Fix checkstyle violation

See gh-40549
pull/41000/head
Phillip Webb 2 years ago
parent
commit
24bfe5087f
  1. 5
      spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/net/protocol/nested/NestedLocation.java

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

@ -106,9 +106,8 @@ public record NestedLocation(Path path, String nestedEntryName) { @@ -106,9 +106,8 @@ public record NestedLocation(Path path, String nestedEntryName) {
}
private static Path asPath(String locationPath) {
return pathCache.computeIfAbsent(locationPath, (key) -> {
return Path.of((!isWindows()) ? locationPath : fixWindowsLocationPath(locationPath));
});
return pathCache.computeIfAbsent(locationPath,
(key) -> Path.of((!isWindows()) ? locationPath : fixWindowsLocationPath(locationPath)));
}
private static boolean isWindows() {

Loading…
Cancel
Save