Skip to content

Commit

Permalink
Another kind of spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed May 7, 2024
1 parent c503940 commit 6b6038d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ static List<String> findLibSystemd() {
final String libpath = System.getProperty("java.library.path");
return Arrays.stream(libpath.split(":")).map(Paths::get).filter(Files::exists).flatMap(p -> {
try {
return Files.find(p, Integer.MAX_VALUE, (fp, attrs) -> (
attrs.isDirectory() == false && fp.getFileName().equals(libsystemd)
));
return Files.find(
p,
Integer.MAX_VALUE,
(fp, attrs) -> (attrs.isDirectory() == false && fp.getFileName().equals(libsystemd))
);
} catch (IOException e) {
throw new UncheckedIOException(e);
}
Expand Down

0 comments on commit 6b6038d

Please sign in to comment.