mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Fix checkstyle violation
See gh-40549
This commit is contained in:
+2
-3
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user