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