aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-04-07 04:51:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-07 04:51:50 +0000
commit58a2c552e4b18257f993cfd52627003dfb0b2bda (patch)
tree00af7102a74862c1d1d420aab7fe614cb4862a6a
parent1765a16a16ac2d98465926990e2478665eede3da (diff)
parent0df3ee2c7c5612b95acdcf1ae8b63ce4c49f2754 (diff)
downloadsdk-58a2c552e4b18257f993cfd52627003dfb0b2bda.zip
sdk-58a2c552e4b18257f993cfd52627003dfb0b2bda.tar.gz
sdk-58a2c552e4b18257f993cfd52627003dfb0b2bda.tar.bz2
Merge "Track tools/base API change in Eclipse plugin" into studio-1.3-dev
-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);
+ }
+
};
}