Commit c4a9e49c authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Update the google-java-format-gradle-plugin to the latest version and reformat...

Update the google-java-format-gradle-plugin to the latest version and reformat the source files. Due to bug https://github.com/sherter/google-java-format-gradle-plugin/issues/25 the formatting was only checked on the :asm project, and not on the other subprojects. Version 0.7 of the plugin solves this issue.
parent 303ff45a
...@@ -31,7 +31,6 @@ import java.util.ArrayList; ...@@ -31,7 +31,6 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
package org.objectweb.asm.tree.analysis; package org.objectweb.asm.tree.analysis;
import java.util.List; import java.util.List;
import org.objectweb.asm.ConstantDynamic; import org.objectweb.asm.ConstantDynamic;
import org.objectweb.asm.Handle; import org.objectweb.asm.Handle;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
...@@ -157,7 +156,7 @@ public class BasicInterpreter extends Interpreter<BasicValue> implements Opcodes ...@@ -157,7 +156,7 @@ public class BasicInterpreter extends Interpreter<BasicValue> implements Opcodes
} else if (value instanceof Handle) { } else if (value instanceof Handle) {
return newValue(Type.getObjectType("java/lang/invoke/MethodHandle")); return newValue(Type.getObjectType("java/lang/invoke/MethodHandle"));
} else if (value instanceof ConstantDynamic) { } else if (value instanceof ConstantDynamic) {
return newValue(Type.getType(((ConstantDynamic)value).getDescriptor())); return newValue(Type.getType(((ConstantDynamic) value).getDescriptor()));
} else { } else {
throw new AnalyzerException(insn, "Illegal LDC value " + value); throw new AnalyzerException(insn, "Illegal LDC value " + value);
} }
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
package org.objectweb.asm.tree.analysis; package org.objectweb.asm.tree.analysis;
import java.util.List; import java.util.List;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;
import org.objectweb.asm.tree.FieldInsnNode; import org.objectweb.asm.tree.FieldInsnNode;
......
...@@ -29,7 +29,6 @@ package org.objectweb.asm.tree.analysis; ...@@ -29,7 +29,6 @@ package org.objectweb.asm.tree.analysis;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
package org.objectweb.asm.tree.analysis; package org.objectweb.asm.tree.analysis;
import java.util.List; import java.util.List;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
package org.objectweb.asm.tree.analysis; package org.objectweb.asm.tree.analysis;
import java.util.List; import java.util.List;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
/** /**
......
...@@ -30,7 +30,6 @@ package org.objectweb.asm.tree.analysis; ...@@ -30,7 +30,6 @@ package org.objectweb.asm.tree.analysis;
import java.util.HashSet; import java.util.HashSet;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
package org.objectweb.asm.tree.analysis; package org.objectweb.asm.tree.analysis;
import java.util.Set; import java.util.Set;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;
/** /**
......
...@@ -29,7 +29,6 @@ package org.objectweb.asm.tree.analysis; ...@@ -29,7 +29,6 @@ package org.objectweb.asm.tree.analysis;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.objectweb.asm.tree.JumpInsnNode; import org.objectweb.asm.tree.JumpInsnNode;
import org.objectweb.asm.tree.LabelNode; import org.objectweb.asm.tree.LabelNode;
......
...@@ -35,7 +35,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue; ...@@ -35,7 +35,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.IOException; import java.io.IOException;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
......
...@@ -32,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows; ...@@ -32,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Arrays; import java.util.Arrays;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
...@@ -478,7 +477,8 @@ public class SimpleVerifierTest extends AsmTest implements Opcodes { ...@@ -478,7 +477,8 @@ public class SimpleVerifierTest extends AsmTest implements Opcodes {
Type baseType = Type.getObjectType("C"); Type baseType = Type.getObjectType("C");
Type superType = Type.getObjectType("D"); Type superType = Type.getObjectType("D");
Type interfaceType = Type.getObjectType("I"); Type interfaceType = Type.getObjectType("I");
new SimpleVerifier(ASM7_EXPERIMENTAL, baseType, superType, Arrays.asList(interfaceType), false) { new SimpleVerifier(
ASM7_EXPERIMENTAL, baseType, superType, Arrays.asList(interfaceType), false) {
void test() { void test() {
assertTrue(isAssignableFrom(baseType, baseType)); assertTrue(isAssignableFrom(baseType, baseType));
......
...@@ -37,7 +37,6 @@ import java.util.HashSet; ...@@ -37,7 +37,6 @@ import java.util.HashSet;
import java.util.Iterator; import java.util.Iterator;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
import java.util.Set; import java.util.Set;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
/** /**
......
...@@ -31,7 +31,6 @@ import java.util.ArrayList; ...@@ -31,7 +31,6 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.objectweb.asm.Handle; import org.objectweb.asm.Handle;
import org.objectweb.asm.Label; import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.MethodVisitor;
...@@ -97,7 +96,8 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes ...@@ -97,7 +96,8 @@ public abstract class AdviceAdapter extends GeneratorAdapter implements Opcodes
* Constructs a new {@link AdviceAdapter}. * Constructs a new {@link AdviceAdapter}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param methodVisitor the method visitor to which this adapter delegates calls. * @param methodVisitor the method visitor to which this adapter delegates calls.
* @param access the method's access flags (see {@link Opcodes}). * @param access the method's access flags (see {@link Opcodes}).
* @param name the method's name. * @param name the method's name.
......
...@@ -31,7 +31,6 @@ import java.util.ArrayList; ...@@ -31,7 +31,6 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.objectweb.asm.ConstantDynamic; import org.objectweb.asm.ConstantDynamic;
import org.objectweb.asm.Handle; import org.objectweb.asm.Handle;
import org.objectweb.asm.Label; import org.objectweb.asm.Label;
...@@ -127,7 +126,8 @@ public class AnalyzerAdapter extends MethodVisitor { ...@@ -127,7 +126,8 @@ public class AnalyzerAdapter extends MethodVisitor {
* Constructs a new {@link AnalyzerAdapter}. * Constructs a new {@link AnalyzerAdapter}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param owner the owner's class name. * @param owner the owner's class name.
* @param access the method's access flags (see {@link Opcodes}). * @param access the method's access flags (see {@link Opcodes}).
* @param name the method's name. * @param name the method's name.
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
package org.objectweb.asm.commons; package org.objectweb.asm.commons;
import java.util.List; import java.util.List;
import org.objectweb.asm.AnnotationVisitor; import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Attribute; import org.objectweb.asm.Attribute;
import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassVisitor;
......
...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons; ...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Handle; import org.objectweb.asm.Handle;
import org.objectweb.asm.Label; import org.objectweb.asm.Label;
...@@ -211,7 +210,8 @@ public class GeneratorAdapter extends LocalVariablesSorter { ...@@ -211,7 +210,8 @@ public class GeneratorAdapter extends LocalVariablesSorter {
* Constructs a new {@link GeneratorAdapter}. * Constructs a new {@link GeneratorAdapter}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param methodVisitor the method visitor to which this adapter delegates calls. * @param methodVisitor the method visitor to which this adapter delegates calls.
* @param access the method's access flags (see {@link Opcodes}). * @param access the method's access flags (see {@link Opcodes}).
* @param name the method's name. * @param name the method's name.
......
...@@ -63,7 +63,8 @@ public class InstructionAdapter extends MethodVisitor { ...@@ -63,7 +63,8 @@ public class InstructionAdapter extends MethodVisitor {
* Constructs a new {@link InstructionAdapter}. * Constructs a new {@link InstructionAdapter}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param methodVisitor the method visitor to which this adapter delegates calls. * @param methodVisitor the method visitor to which this adapter delegates calls.
*/ */
protected InstructionAdapter(final int api, final MethodVisitor methodVisitor) { protected InstructionAdapter(final int api, final MethodVisitor methodVisitor) {
......
...@@ -35,7 +35,6 @@ import java.util.LinkedList; ...@@ -35,7 +35,6 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import org.objectweb.asm.Label; import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
...@@ -108,7 +107,8 @@ public class JSRInlinerAdapter extends MethodNode implements Opcodes { ...@@ -108,7 +107,8 @@ public class JSRInlinerAdapter extends MethodNode implements Opcodes {
* Constructs a new {@link JSRInlinerAdapter}. * Constructs a new {@link JSRInlinerAdapter}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param methodVisitor the method visitor to send the resulting inlined method code to, or <code> * @param methodVisitor the method visitor to send the resulting inlined method code to, or <code>
* null</code>. * null</code>.
* @param access the method's access flags (see {@link Opcodes}). This parameter also indicates if * @param access the method's access flags (see {@link Opcodes}). This parameter also indicates if
......
...@@ -91,7 +91,8 @@ public class LocalVariablesSorter extends MethodVisitor { ...@@ -91,7 +91,8 @@ public class LocalVariablesSorter extends MethodVisitor {
* Constructs a new {@link LocalVariablesSorter}. * Constructs a new {@link LocalVariablesSorter}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param access access flags of the adapted method. * @param access access flags of the adapted method.
* @param descriptor the method's descriptor (see {@link Type}). * @param descriptor the method's descriptor (see {@link Type}).
* @param methodVisitor the method visitor to which this adapter delegates calls. * @param methodVisitor the method visitor to which this adapter delegates calls.
......
...@@ -29,7 +29,6 @@ package org.objectweb.asm.commons; ...@@ -29,7 +29,6 @@ package org.objectweb.asm.commons;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
/** /**
......
...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons; ...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.objectweb.asm.Attribute; import org.objectweb.asm.Attribute;
import org.objectweb.asm.ByteVector; import org.objectweb.asm.ByteVector;
import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassReader;
......
...@@ -253,8 +253,8 @@ public abstract class Remapper { ...@@ -253,8 +253,8 @@ public abstract class Remapper {
} }
/** /**
* Maps a package name to its new name. The default implementation of this method returns the given * Maps a package name to its new name. The default implementation of this method returns the
* name, unchanged. Subclasses can override. * given name, unchanged. Subclasses can override.
* *
* @param name the fully qualified name of the package (using dots). * @param name the fully qualified name of the package (using dots).
* @return the new name of the package. * @return the new name of the package.
......
...@@ -36,7 +36,6 @@ import java.util.ArrayList; ...@@ -36,7 +36,6 @@ import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
import java.util.Comparator; import java.util.Comparator;
import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor; import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.MethodVisitor;
...@@ -77,24 +76,28 @@ import org.objectweb.asm.Opcodes; ...@@ -77,24 +76,28 @@ import org.objectweb.asm.Opcodes;
* <li>The modifiers of the field written as a 32-bit integer. * <li>The modifiers of the field written as a 32-bit integer.
* <li>The descriptor of the field in UTF encoding * <li>The descriptor of the field in UTF encoding
* </ol> * </ol>
*
* <li>If a class initializer exists, write out the following: * <li>If a class initializer exists, write out the following:
* <ol> * <ol>
* <li>The name of the method, &lt;clinit&gt;, in UTF encoding. * <li>The name of the method, &lt;clinit&gt;, in UTF encoding.
* <li>The modifier of the method, STATIC, written as a 32-bit integer. * <li>The modifier of the method, STATIC, written as a 32-bit integer.
* <li>The descriptor of the method, ()V, in UTF encoding. * <li>The descriptor of the method, ()V, in UTF encoding.
* </ol> * </ol>
*
* <li>For each non-private constructor sorted by method name and signature: * <li>For each non-private constructor sorted by method name and signature:
* <ol> * <ol>
* <li>The name of the method, &lt;init&gt;, in UTF encoding. * <li>The name of the method, &lt;init&gt;, in UTF encoding.
* <li>The modifiers of the method written as a 32-bit integer. * <li>The modifiers of the method written as a 32-bit integer.
* <li>The descriptor of the method in UTF encoding. * <li>The descriptor of the method in UTF encoding.
* </ol> * </ol>
*
* <li>For each non-private method sorted by method name and signature: * <li>For each non-private method sorted by method name and signature:
* <ol> * <ol>
* <li>The name of the method in UTF encoding. * <li>The name of the method in UTF encoding.
* <li>The modifiers of the method written as a 32-bit integer. * <li>The modifiers of the method written as a 32-bit integer.
* <li>The descriptor of the method in UTF encoding. * <li>The descriptor of the method in UTF encoding.
* </ol> * </ol>
*
* <li>The SHA-1 algorithm is executed on the stream of bytes produced by DataOutputStream and * <li>The SHA-1 algorithm is executed on the stream of bytes produced by DataOutputStream and
* produces five 32-bit values sha[0..4]. * produces five 32-bit values sha[0..4].
* <li>The hash value is assembled from the first and second 32-bit values of the SHA-1 message * <li>The hash value is assembled from the first and second 32-bit values of the SHA-1 message
...@@ -160,7 +163,8 @@ public class SerialVersionUIDAdder extends ClassVisitor { ...@@ -160,7 +163,8 @@ public class SerialVersionUIDAdder extends ClassVisitor {
* Constructs a new {@link SerialVersionUIDAdder}. * Constructs a new {@link SerialVersionUIDAdder}.
* *
* @param api the ASM API version implemented by this visitor. Must be one of {@link * @param api the ASM API version implemented by this visitor. Must be one of {@link
* Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link Opcodes#ASM7_EXPERIMENTAL}. * Opcodes#ASM4}, {@link Opcodes#ASM5}, {@link Opcodes#ASM6} or {@link
* Opcodes#ASM7_EXPERIMENTAL}.
* @param classVisitor a {@link ClassVisitor} to which this visitor will delegate calls. * @param classVisitor a {@link ClassVisitor} to which this visitor will delegate calls.
*/ */
protected SerialVersionUIDAdder(final int api, final ClassVisitor classVisitor) { protected SerialVersionUIDAdder(final int api, final ClassVisitor classVisitor) {
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
package org.objectweb.asm.commons; package org.objectweb.asm.commons;
import java.util.ArrayList; import java.util.ArrayList;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
import org.objectweb.asm.signature.SignatureVisitor; import org.objectweb.asm.signature.SignatureVisitor;
......
...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons; ...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons;
import java.util.Collections; import java.util.Collections;
import java.util.Comparator; import java.util.Comparator;
import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
import org.objectweb.asm.tree.MethodNode; import org.objectweb.asm.tree.MethodNode;
......
...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons; ...@@ -30,7 +30,6 @@ package org.objectweb.asm.commons;
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertThrows;
import java.util.function.Consumer; import java.util.function.Consumer;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
......
...@@ -32,7 +32,6 @@ import static org.objectweb.asm.test.Assertions.assertThat; ...@@ -32,7 +32,6 @@ import static org.objectweb.asm.test.Assertions.assertThat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.Executable; import org.junit.jupiter.api.function.Executable;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
......
...@@ -32,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows; ...@@ -32,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.objectweb.asm.test.Assertions.assertThat; import static org.objectweb.asm.test.Assertions.assertThat;
import java.util.Arrays; import java.util.Arrays;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
......
...@@ -39,7 +39,6 @@ import static org.objectweb.asm.commons.GeneratorAdapter.NE; ...@@ -39,7 +39,6 @@ import static org.objectweb.asm.commons.GeneratorAdapter.NE;
import java.util.Arrays; import java.util.Arrays;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.objectweb.asm.Handle; import org.objectweb.asm.Handle;