Skip to content

Commit

Permalink
Fix checkstyle violation
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed May 9, 2024
1 parent 8457fc3 commit 24bfe50
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,8 @@ private static NestedLocation create(String location) {
}

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() {
Expand Down

0 comments on commit 24bfe50

Please sign in to comment.