aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-04-07 04:52:46 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-04-07 04:52:46 +0000
commit56fe81f3228f886778e76a849ff99333bb05c72c (patch)
tree00af7102a74862c1d1d420aab7fe614cb4862a6a
parenteb034a75e79556e0fe8b25453b422b2901a3b853 (diff)
parent58a2c552e4b18257f993cfd52627003dfb0b2bda (diff)
downloadsdk-56fe81f3228f886778e76a849ff99333bb05c72c.zip
sdk-56fe81f3228f886778e76a849ff99333bb05c72c.tar.gz
sdk-56fe81f3228f886778e76a849ff99333bb05c72c.tar.bz2
Merge "Track tools/base API change in Eclipse plugin" into studio-1.3-dev
automerge: 58a2c55 * commit '58a2c552e4b18257f993cfd52627003dfb0b2bda': 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);
+ }
+
};
}