commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1696873 - in /commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6: ./ classfile/ data/ generic/ util/ verifier/ verifier/tests/
Date Thu, 20 Aug 2015 23:04:59 GMT
Author: sebb
Date: Thu Aug 20 23:04:58 2015
New Revision: 1696873

URL: http://svn.apache.org/r1696873
Log:
Checkstyle imports

Modified:
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/ElementValueGenTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/InstructionFinderTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/classfile/UtilityTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotation.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotationInvisible.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/SimpleAnnotation.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/AnnotationGenTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/GeneratingAnnotatedClassesTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/MethodGenTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/Class2HTMLTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/InstructionFinderTest.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/VerifierTestCase.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeSpecial02.java
    commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeVirtual02.java

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/ElementValueGenTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/ElementValueGenTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/ElementValueGenTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/ElementValueGenTestCase.java
Thu Aug 20 23:04:58 2015
@@ -24,7 +24,6 @@ import java.io.DataInputStream;
 import java.io.DataOutputStream;
 import java.io.IOException;
 
-import org.apache.commons.bcel6.Constants;
 import org.apache.commons.bcel6.generic.ClassElementValueGen;
 import org.apache.commons.bcel6.generic.ClassGen;
 import org.apache.commons.bcel6.generic.ConstantPoolGen;
@@ -238,4 +237,4 @@ public class ElementValueGenTestCase ext
             fail("Unexpected exception whilst checking serialization: " + ioe);
         }
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/InstructionFinderTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/InstructionFinderTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/InstructionFinderTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/InstructionFinderTestCase.java
Thu Aug 20 23:04:58 2015
@@ -19,7 +19,6 @@ package org.apache.commons.bcel6;
 
 import java.util.Iterator;
 
-import org.apache.commons.bcel6.AbstractTestCase;
 import org.apache.commons.bcel6.classfile.JavaClass;
 import org.apache.commons.bcel6.classfile.Method;
 import org.apache.commons.bcel6.generic.InstructionHandle;

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/classfile/UtilityTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/classfile/UtilityTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/classfile/UtilityTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/classfile/UtilityTestCase.java
Thu Aug 20 23:04:58 2015
@@ -17,8 +17,6 @@
 
 package org.apache.commons.bcel6.classfile;
 
-import org.apache.commons.bcel6.classfile.Utility;
-
 import junit.framework.TestCase;
 
 public class UtilityTestCase extends TestCase {

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotation.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotation.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotation.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotation.java
Thu Aug 20 23:04:58 2015
@@ -18,7 +18,8 @@
 
 package org.apache.commons.bcel6.data;
 
-import java.lang.annotation.*;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 
 @Retention(RetentionPolicy.RUNTIME)
 public @interface MarkerAnnotation

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotationInvisible.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotationInvisible.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotationInvisible.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/MarkerAnnotationInvisible.java
Thu Aug 20 23:04:58 2015
@@ -18,7 +18,8 @@
 
 package org.apache.commons.bcel6.data;
 
-import java.lang.annotation.*;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 
 @Retention(RetentionPolicy.CLASS)
 public @interface MarkerAnnotationInvisible { }

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/SimpleAnnotation.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/SimpleAnnotation.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/SimpleAnnotation.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/data/SimpleAnnotation.java
Thu Aug 20 23:04:58 2015
@@ -18,7 +18,8 @@
 
 package org.apache.commons.bcel6.data;
 
-import java.lang.annotation.*;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
 
 @Retention(RetentionPolicy.RUNTIME)
 public @interface SimpleAnnotation

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/AnnotationGenTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/AnnotationGenTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/AnnotationGenTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/AnnotationGenTestCase.java
Thu Aug 20 23:04:58 2015
@@ -31,13 +31,6 @@ import org.apache.commons.bcel6.classfil
 import org.apache.commons.bcel6.classfile.Attribute;
 import org.apache.commons.bcel6.classfile.RuntimeInvisibleAnnotations;
 import org.apache.commons.bcel6.classfile.RuntimeVisibleAnnotations;
-import org.apache.commons.bcel6.generic.AnnotationEntryGen;
-import org.apache.commons.bcel6.generic.ClassGen;
-import org.apache.commons.bcel6.generic.ConstantPoolGen;
-import org.apache.commons.bcel6.generic.ElementValueGen;
-import org.apache.commons.bcel6.generic.ElementValuePairGen;
-import org.apache.commons.bcel6.generic.ObjectType;
-import org.apache.commons.bcel6.generic.SimpleElementValueGen;
 
 public class AnnotationGenTestCase extends AbstractTestCase
 {

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/GeneratingAnnotatedClassesTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/GeneratingAnnotatedClassesTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/GeneratingAnnotatedClassesTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/GeneratingAnnotatedClassesTestCase.java
Thu Aug 20 23:04:58 2015
@@ -31,27 +31,6 @@ import org.apache.commons.bcel6.classfil
 import org.apache.commons.bcel6.classfile.Method;
 import org.apache.commons.bcel6.classfile.ParameterAnnotationEntry;
 import org.apache.commons.bcel6.classfile.SimpleElementValue;
-import org.apache.commons.bcel6.generic.ALOAD;
-import org.apache.commons.bcel6.generic.ASTORE;
-import org.apache.commons.bcel6.generic.AnnotationElementValueGen;
-import org.apache.commons.bcel6.generic.AnnotationEntryGen;
-import org.apache.commons.bcel6.generic.ArrayElementValueGen;
-import org.apache.commons.bcel6.generic.ArrayType;
-import org.apache.commons.bcel6.generic.ClassGen;
-import org.apache.commons.bcel6.generic.ConstantPoolGen;
-import org.apache.commons.bcel6.generic.ElementValueGen;
-import org.apache.commons.bcel6.generic.ElementValuePairGen;
-import org.apache.commons.bcel6.generic.GOTO;
-import org.apache.commons.bcel6.generic.InstructionConstants;
-import org.apache.commons.bcel6.generic.InstructionFactory;
-import org.apache.commons.bcel6.generic.InstructionHandle;
-import org.apache.commons.bcel6.generic.InstructionList;
-import org.apache.commons.bcel6.generic.LocalVariableGen;
-import org.apache.commons.bcel6.generic.MethodGen;
-import org.apache.commons.bcel6.generic.ObjectType;
-import org.apache.commons.bcel6.generic.PUSH;
-import org.apache.commons.bcel6.generic.SimpleElementValueGen;
-import org.apache.commons.bcel6.generic.Type;
 import org.apache.commons.bcel6.util.SyntheticRepository;
 
 /**
@@ -697,4 +676,4 @@ public class GeneratingAnnotatedClassesT
         AnnotationEntryGen a = new AnnotationEntryGen(t, elements, false, cp);
         return a;
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/MethodGenTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/MethodGenTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/MethodGenTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/generic/MethodGenTestCase.java
Thu Aug 20 23:04:58 2015
@@ -22,10 +22,6 @@ import java.util.Arrays;
 import org.apache.commons.bcel6.Repository;
 import org.apache.commons.bcel6.classfile.JavaClass;
 import org.apache.commons.bcel6.classfile.Method;
-import org.apache.commons.bcel6.generic.ConstantPoolGen;
-import org.apache.commons.bcel6.generic.InstructionHandle;
-import org.apache.commons.bcel6.generic.LocalVariableGen;
-import org.apache.commons.bcel6.generic.MethodGen;
 
 import junit.framework.TestCase;
 

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/Class2HTMLTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/Class2HTMLTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/Class2HTMLTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/Class2HTMLTestCase.java
Thu Aug 20 23:04:58 2015
@@ -21,7 +21,6 @@ import java.io.File;
 import java.io.FileInputStream;
 
 import org.apache.commons.bcel6.classfile.ClassParser;
-import org.apache.commons.bcel6.util.Class2HTML;
 
 import junit.framework.TestCase;
 

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/InstructionFinderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/InstructionFinderTest.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/InstructionFinderTest.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/util/InstructionFinderTest.java
Thu Aug 20 23:04:58 2015
@@ -26,7 +26,6 @@ import org.apache.commons.bcel6.generic.
 import org.apache.commons.bcel6.generic.ISTORE;
 import org.apache.commons.bcel6.generic.InstructionHandle;
 import org.apache.commons.bcel6.generic.InstructionList;
-import org.apache.commons.bcel6.util.InstructionFinder;
 
 public class InstructionFinderTest extends AbstractTestCase {
 

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/AbstractVerifierTestCase.java
Thu Aug 20 23:04:58 2015
@@ -20,9 +20,6 @@ package org.apache.commons.bcel6.verifie
 
 import org.apache.commons.bcel6.Repository;
 import org.apache.commons.bcel6.classfile.JavaClass;
-import org.apache.commons.bcel6.verifier.VerificationResult;
-import org.apache.commons.bcel6.verifier.Verifier;
-import org.apache.commons.bcel6.verifier.VerifierFactory;
 
 import junit.framework.TestCase;
 

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/VerifierTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/VerifierTestCase.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/VerifierTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/VerifierTestCase.java
Thu Aug 20 23:04:58 2015
@@ -20,10 +20,6 @@ package org.apache.commons.bcel6.verifie
 
 import java.util.Collection;
 
-import org.apache.commons.bcel6.verifier.VerificationResult;
-import org.apache.commons.bcel6.verifier.Verifier;
-import org.apache.commons.bcel6.verifier.VerifierFactory;
-
 import junit.framework.TestCase;
 
 public class VerifierTestCase extends TestCase {

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeSpecial02.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeSpecial02.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeSpecial02.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeSpecial02.java
Thu Aug 20 23:04:58 2015
@@ -17,7 +17,7 @@
  */
 package org.apache.commons.bcel6.verifier.tests;
 
-abstract public class TestLegalInvokeSpecial02 implements Runnable{
+public abstract class TestLegalInvokeSpecial02 implements Runnable{
 
     public static void test1(TestLegalInvokeSpecial02 t, int i){
         if(i > 0){

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeVirtual02.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeVirtual02.java?rev=1696873&r1=1696872&r2=1696873&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeVirtual02.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/commons/bcel6/verifier/tests/TestLegalInvokeVirtual02.java
Thu Aug 20 23:04:58 2015
@@ -17,7 +17,7 @@
  */
 package org.apache.commons.bcel6.verifier.tests;
 
-abstract public class TestLegalInvokeVirtual02 implements Runnable{
+public abstract class TestLegalInvokeVirtual02 implements Runnable{
 
     public static void test1(TestLegalInvokeVirtual02 t, int i){
         if(i > 0){



Mime
View raw message