diff options
author | Tor Norbye <tnorbye@google.com> | 2015-04-09 18:34:57 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-09 18:34:57 +0000 |
commit | 870db7fbed553540aacd4e23a4383dd5990045ff (patch) | |
tree | 6ee608df2213f6f5c5a7cb25128a870608b5f32b | |
parent | 20d9be71b4b7305f643442942a6faa5df25bfc11 (diff) | |
parent | 1c92675c92ed41b9836723d2122802a436e87880 (diff) | |
download | sdk-870db7fbed553540aacd4e23a4383dd5990045ff.zip sdk-870db7fbed553540aacd4e23a4383dd5990045ff.tar.gz sdk-870db7fbed553540aacd4e23a4383dd5990045ff.tar.bz2 |
am 1c92675c: Merge "Update ADT plugin with lint API change" into studio-1.3-dev automerge: d21a036 automerge: d26711d
* commit '1c92675c92ed41b9836723d2122802a436e87880':
Update ADT plugin with lint API change
-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); } |