diff options
author | Danny van Bruggen <hexagonaal@gmail.com> | 2018-02-22 19:12:20 +0100 |
---|---|---|
committer | Danny van Bruggen <hexagonaal@gmail.com> | 2018-02-22 19:12:20 +0100 |
commit | d2a818e10b436f8751fe62ee334d79012b8f16f5 (patch) | |
tree | 7eccf4b3de06cef5df091561fbdf4e64eb6ac6df | |
parent | 05a81d38272ac2850ea7826d77f5b904f61a3709 (diff) | |
download | javaparser-d2a818e10b436f8751fe62ee334d79012b8f16f5.tar.gz |
Format file
-rw-r--r-- | javaparser-core/src/main/java/com/github/javaparser/utils/SourceRoot.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javaparser-core/src/main/java/com/github/javaparser/utils/SourceRoot.java b/javaparser-core/src/main/java/com/github/javaparser/utils/SourceRoot.java index 15db5a620..02a90ffec 100644 --- a/javaparser-core/src/main/java/com/github/javaparser/utils/SourceRoot.java +++ b/javaparser-core/src/main/java/com/github/javaparser/utils/SourceRoot.java @@ -152,7 +152,7 @@ public class SourceRoot { @Override public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException { - return isSensibleDirectoryToEnter(dir)?CONTINUE:SKIP_SUBTREE; + return isSensibleDirectoryToEnter(dir) ? CONTINUE : SKIP_SUBTREE; } }); return getCache(); @@ -293,7 +293,7 @@ public class SourceRoot { @Override public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException { - return isSensibleDirectoryToEnter(dir)?CONTINUE:SKIP_SUBTREE; + return isSensibleDirectoryToEnter(dir) ? CONTINUE : SKIP_SUBTREE; } }); return this; @@ -543,7 +543,7 @@ public class SourceRoot { Files.walkFileTree(path, new SimpleFileVisitor<Path>() { @Override public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException { - if(!SourceRoot.isSensibleDirectoryToEnter(dir)){ + if (!SourceRoot.isSensibleDirectoryToEnter(dir)) { return SKIP_SUBTREE; } if (!dir.equals(ParallelParse.this.path)) { |