diff --git a/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassMaker.java b/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassMaker.java index 72f039a1e1a47c..94c6bbc97592ba 100644 --- a/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassMaker.java +++ b/src/tools/android/java/com/google/devtools/build/android/desugar/LambdaClassMaker.java @@ -81,12 +81,12 @@ private ImmutableList findUnprocessed(String pathPrefix) throws IOExceptio if (!Files.exists(rootPathPrefix.getParent())) { return ImmutableList.of(); } - try (Stream paths = - Files.list(rootPathPrefix.getParent()) - .filter( - path -> path.toString().startsWith(rootPathPrefixStr) - && !existingPaths.contains(path))) { - return paths.collect(ImmutableList.toImmutableList()); + try (Stream paths = Files.list(rootPathPrefix.getParent())) { + return paths + .filter( + path -> + path.toString().startsWith(rootPathPrefixStr) && !existingPaths.contains(path)) + .collect(ImmutableList.toImmutableList()); } } }