am 2247b043: DO NOT MERGE: idegen: Skip directories named *.java when parsing source.
* commit '2247b043df5086e285ec4192a8d79a3d9b6c1045': DO NOT MERGE: idegen: Skip directories named *.java when parsing source.
This commit is contained in:
@@ -132,7 +132,7 @@ public class Configuration {
|
||||
String path = file.getPath().substring(2);
|
||||
|
||||
// Keep track of source roots for .java files.
|
||||
if (path.endsWith(".java")) {
|
||||
if (path.endsWith(".java") && !file.isDirectory()) {
|
||||
if (firstJavaFile) {
|
||||
// Only parse one .java file per directory.
|
||||
firstJavaFile = false;
|
||||
|
||||
Reference in New Issue
Block a user