Fix checkstyle violation
See gh-40549
This commit is contained in:
@@ -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