Fix checkstyle violation

See gh-40549
This commit is contained in:
Phillip Webb
2024-05-08 18:28:09 -07:00
parent 8457fc333f
commit 24bfe5087f

View File

@@ -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() {