Skip to content

Commit

Permalink
replace Opcodes.ASM7 with FindBugsASM.ASM_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed May 1, 2019
1 parent 7bb76c4 commit 8a55eef
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
*/
package org.sonar.plugins.findbugs.resource;

import edu.umd.cs.findbugs.classfile.engine.asm.FindBugsASM;

import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Opcodes;

import javax.annotation.Nullable;
import java.io.IOException;
Expand Down Expand Up @@ -70,7 +71,7 @@ private static class AbstractClassVisitor extends ClassVisitor {
protected String debug;

public AbstractClassVisitor() {
super(Opcodes.ASM7);
super(FindBugsASM.ASM_VERSION);
}

@Override
Expand Down

0 comments on commit 8a55eef

Please sign in to comment.