diff options
| author | Sky Faber <skyf@google.com> | 2014-07-08 11:26:53 -0700 |
|---|---|---|
| committer | Etan Cohen <etancohen@google.com> | 2014-10-24 18:20:36 +0000 |
| commit | 2247b043df5086e285ec4192a8d79a3d9b6c1045 (patch) | |
| tree | 001d4d14821dde0a625a401063a7b8c16a69fbcb /tools | |
| parent | 7876b306a2390130255b0aea6e10ef574bcabc2d (diff) | |
DO NOT MERGE: idegen: Skip directories named *.java when parsing source.
Change-Id: I8a6700ebcc198851b80de4832a43d147dc887f3a
(cherry picked from commit e83d6400fb5f125cee1edb6ebb7663abe5cae6c4)
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idegen/src/Configuration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idegen/src/Configuration.java b/tools/idegen/src/Configuration.java index 2f800b11a..c09be1a40 100644 --- a/tools/idegen/src/Configuration.java +++ b/tools/idegen/src/Configuration.java @@ -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; |
