parent
8457fc333f
commit
24bfe5087f
|
|
@ -106,9 +106,8 @@ public record NestedLocation(Path path, String nestedEntryName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Path asPath(String locationPath) {
|
private static Path asPath(String locationPath) {
|
||||||
return pathCache.computeIfAbsent(locationPath, (key) -> {
|
return pathCache.computeIfAbsent(locationPath,
|
||||||
return Path.of((!isWindows()) ? locationPath : fixWindowsLocationPath(locationPath));
|
(key) -> Path.of((!isWindows()) ? locationPath : fixWindowsLocationPath(locationPath)));
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isWindows() {
|
private static boolean isWindows() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue