aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-04-07 05:14:55 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-07 05:14:55 +0000
commit20d9be71b4b7305f643442942a6faa5df25bfc11 (patch)
treec66092b5867c81e2fa422a1fd72cab971a65dbf4
parent09b94fbb5d9cc73f0a4bcbf2a019b7f017e0db7a (diff)
parentac1d4eda49dce252da1fa3f7f02b94acfa0f1c45 (diff)
downloadsdk-20d9be71b4b7305f643442942a6faa5df25bfc11.zip
sdk-20d9be71b4b7305f643442942a6faa5df25bfc11.tar.gz
sdk-20d9be71b4b7305f643442942a6faa5df25bfc11.tar.bz2
am ac1d4eda: Merge "Track tools/base API change in Eclipse plugin" into studio-1.3-dev automerge: 58a2c55 automerge: 56fe81f
* commit 'ac1d4eda49dce252da1fa3f7f02b94acfa0f1c45': Track tools/base API change in Eclipse plugin
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/EclipseLintClient.java13
1 files changed, 13 insertions, 0 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 94a7da1..154d35e 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
@@ -293,6 +293,19 @@ public class EclipseLintClient extends LintClient {
model.releaseFromRead();
}
}
+
+ @Override
+ @NonNull
+ public Location getNameLocation(@NonNull XmlContext context, @NonNull Node node) {
+ return getLocation(context, node);
+ }
+
+ @Override
+ @NonNull
+ public Location getValueLocation(@NonNull XmlContext context, @NonNull Attr node) {
+ return getLocation(context, node);
+ }
+
};
}