Skip to content

Commit

Permalink
feat(objectionary#509): fix all qulice suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Mar 15, 2024
1 parent 350d137 commit b115a33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
package org.eolang.jeo.representation.directives;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import org.xembly.Directive;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import java.util.Iterator;
import java.util.stream.Stream;
import org.eolang.jeo.representation.DefaultVersion;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Handle;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
Expand Down Expand Up @@ -160,15 +159,15 @@ public void visitInvokeDynamicInsn(
}

@Override
public void visitMultiANewArrayInsn(final String descriptor, final int numDimensions) {
this.opcode(Opcodes.MULTIANEWARRAY, descriptor, numDimensions);
super.visitMultiANewArrayInsn(descriptor, numDimensions);
public void visitMultiANewArrayInsn(final String descriptor, final int dimensions) {
this.opcode(Opcodes.MULTIANEWARRAY, descriptor, dimensions);
super.visitMultiANewArrayInsn(descriptor, dimensions);
}

@Override
public void visitIincInsn(final int varIndex, final int increment) {
this.opcode(Opcodes.IINC, varIndex, increment);
super.visitIincInsn(varIndex, increment);
public void visitIincInsn(final int index, final int increment) {
this.opcode(Opcodes.IINC, index, increment);
super.visitIincInsn(index, increment);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
*
* @since 0.1.0
*/
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
@SuppressWarnings({"PMD.AvoidDuplicateLiterals", "PMD.TooManyMethods"})
final class DirectivesMethodVisitorTest {

@Test
Expand Down

0 comments on commit b115a33

Please sign in to comment.