Build fix: fix import package
Change-Id: Id8f467c5a088101e6b50c33fa0703520e31bdede
diff --git a/lint/libs/lint_checks/src/com/android/tools/lint/checks/OnClickDetector.java b/lint/libs/lint_checks/src/com/android/tools/lint/checks/OnClickDetector.java
index 47e063e..14370f3 100644
--- a/lint/libs/lint_checks/src/com/android/tools/lint/checks/OnClickDetector.java
+++ b/lint/libs/lint_checks/src/com/android/tools/lint/checks/OnClickDetector.java
@@ -33,8 +33,8 @@
import com.android.tools.lint.detector.api.Speed;
import com.android.tools.lint.detector.api.XmlContext;
import com.google.common.base.Joiner;
-import com.sun.xml.internal.ws.org.objectweb.asm.Opcodes;
+import org.objectweb.asm.Opcodes;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode;
import org.w3c.dom.Attr;
diff --git a/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/OnClickDetectorTest.java b/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/OnClickDetectorTest.java
index 240e0ce..c93beae 100644
--- a/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/OnClickDetectorTest.java
+++ b/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/OnClickDetectorTest.java
@@ -27,12 +27,14 @@
public void test() throws Exception {
assertEquals(
+ "OnClickActivity.java:27: Error: On click handler wrong5(View) must be public\n" +
+ "OnClickActivity.java:31: Error: On click handler wrong6(View) should not be static\n" +
"onclick.xml:10: Error: Corresponding method handler 'public void nonexistent(android.view.View)' not found\n" +
"onclick.xml:16: Error: Corresponding method handler 'public void wrong1(android.view.View)' not found\n" +
"onclick.xml:22: Error: Corresponding method handler 'public void wrong2(android.view.View)' not found\n" +
"onclick.xml:28: Error: Corresponding method handler 'public void wrong3(android.view.View)' not found\n" +
"onclick.xml:34: Error: Corresponding method handler 'public void wrong4(android.view.View)' not found\n" +
- "onclick.xml:46: Error: Corresponding method handler 'public void simple_typo(android.view.View)' not found (did you mean test.pkg.OnClickActivity#simple_tyop(Landroid/view/View;)V ?)",
+ "onclick.xml:58: Error: Corresponding method handler 'public void simple_typo(android.view.View)' not found (did you mean void test.pkg.OnClickActivity#simple_tyop(android.view.View) ?)",
lintProject(
"bytecode/.classpath=>.classpath",