Source:
public void testRecycle ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/RecycleTest.java:56: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " final TypedArray a = getContext().obtainStyledAttributes(attrs,\n" + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:63: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" ) + " final TypedArray a = getContext().obtainStyledAttributes(new int[0]);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:79: Warning: This VelocityTracker should be recycled after use with #recycle() [Recycle]\n" ) + " VelocityTracker tracker = VelocityTracker.obtain();\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:92: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null);\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:93: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null);\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:98: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null); // Not recycled\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:103: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null); // Not recycled\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:113: Warning: This MotionEvent has already been recycled [Recycle]\n" ) + " int contents2 = event1.describeContents(); // BAD, after recycle\n" ) + " ~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:117: Warning: This TypedArray has already been recycled [Recycle]\n" ) + " example = a.getString(R.styleable.MyView_exampleString); // BAD, after recycle\n" ) + " ~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:129: Warning: This Parcel should be recycled after use with #recycle() [Recycle]\n" ) + " Parcel myparcel = Parcel.obtain();\n" ) + " ~~~~~~\n" ) + "0 errors, 10 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties1=>project.properties" , "bytecode/RecycleTest.java.txt=>src/test/pkg/RecycleTest.java" , "bytecode/RecycleTest.class.data=>bin/classes/test/pkg/RecycleTest.class" ) ) ; }

Target:
public void testRecycle ( ) throws java.lang.Exception { assertEquals ( ( "src/test/pkg/RecycleTest.java:56: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( " final TypedArray a = getContext().obtainStyledAttributes(attrs,\n" + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:63: Warning: This TypedArray should be recycled after use with #recycle() [Recycle]\n" ) + " final TypedArray a = getContext().obtainStyledAttributes(new int[0]);\n" ) + " ~~~~~~~~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:79: Warning: This VelocityTracker should be recycled after use with #recycle() [Recycle]\n" ) + " VelocityTracker tracker = VelocityTracker.obtain();\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:92: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null);\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:93: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null);\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:98: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event2 = MotionEvent.obtainNoHistory(null); // Not recycled\n" ) + " ~~~~~~~~~~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:103: Warning: This MotionEvent should be recycled after use with #recycle() [Recycle]\n" ) + " MotionEvent event1 = MotionEvent.obtain(null); // Not recycled\n" ) + " ~~~~~~\n" ) + "src/test/pkg/RecycleTest.java:129: Warning: This Parcel should be recycled after use with #recycle() [Recycle]\n" ) + " Parcel myparcel = Parcel.obtain();\n" ) + " ~~~~~~\n" ) + "0 errors, 8 warnings\n" ) ) , lintProject ( "apicheck/classpath=>.classpath" , "apicheck/minsdk4.xml=>AndroidManifest.xml" , "project.properties19=>project.properties" , "bytecode/RecycleTest.java.txt=>src/test/pkg/RecycleTest.java" , "bytecode/RecycleTest.class.data=>bin/classes/test/pkg/RecycleTest.class" ) ) ; }