diff options
author | Tor Norbye <tnorbye@google.com> | 2015-04-09 11:11:47 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2015-04-09 11:11:47 -0700 |
commit | 14979cb73e9e76f1c82bac77e22f2ab3fb0b6971 (patch) | |
tree | 345345c29bd6c18238b29e34bd8f40deac10918c | |
parent | 58a2c552e4b18257f993cfd52627003dfb0b2bda (diff) | |
download | sdk-14979cb73e9e76f1c82bac77e22f2ab3fb0b6971.zip sdk-14979cb73e9e76f1c82bac77e22f2ab3fb0b6971.tar.gz sdk-14979cb73e9e76f1c82bac77e22f2ab3fb0b6971.tar.bz2 |
Update ADT plugin with lint API change
Change-Id: Ie649d5fcea29cfec0cec64833664353ec61ad408
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java index 154d35e..bd6a55a 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java @@ -903,7 +903,12 @@ public class EclipseLintClient extends LintClient { libraries = super.getClassPath(project).getLibraries(); } - info = new ClassPathInfo(sources, classes, libraries); + + // No test folders in Eclipse: + // https://bugs.eclipse.org/bugs/show_bug.cgi?id=224708 + List<File> tests = Collections.emptyList(); + + info = new ClassPathInfo(sources, classes, libraries, tests); mProjectInfo.put(project, info); } |