aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-02-26 19:20:04 -0800
committerTor Norbye <tnorbye@google.com>2012-02-27 06:59:14 -0800
commitc8093812d52bcb39d74a9674c80f68426ce2c5b7 (patch)
tree360480a08b52c7cec4f11b9f001b7a64e8f9d143 /eclipse
parent9109f4c300ac241beaa6adec77844b81e8fc2552 (diff)
downloadsdk-c8093812d52bcb39d74a9674c80f68426ce2c5b7.zip
sdk-c8093812d52bcb39d74a9674c80f68426ce2c5b7.tar.gz
sdk-c8093812d52bcb39d74a9674c80f68426ce2c5b7.tar.bz2
Fix 26029: Lint in r17 preview ignores per-project lint.xml
Change-Id: Idc1d27a727a24230ae2fcc58dbd2f08673425100
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java2
1 files changed, 1 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 000abd9..9db17d8 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
@@ -182,7 +182,7 @@ public class EclipseLintClient extends LintClient implements IDomParser {
for (IResource resource : mResources) {
IProject p = resource.getProject();
- if (project.getDir().equals(AdtUtils.getAbsolutePath(p))) {
+ if (project.getDir().equals(AdtUtils.getAbsolutePath(p).toFile())) {
return p;
}
}