Skip to content

Commit

Permalink
refactor: OpenRewrite best practices (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne authored Feb 6, 2024
1 parent a584966 commit fca4f61
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.openrewrite.java.JavaParser;
import org.openrewrite.java.JavaTemplate;
import org.openrewrite.java.tree.*;
import org.openrewrite.java.tree.JavaType.FullyQualified;

import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -34,7 +33,7 @@ class CucumberJava8ClassVisitor extends JavaIsoVisitor<ExecutionContext> {
private static final String IO_CUCUMBER_JAVA = "io.cucumber.java";
private static final String IO_CUCUMBER_JAVA8 = "io.cucumber.java8";

private final FullyQualified stepDefinitionsClass;
private final JavaType.FullyQualified stepDefinitionsClass;
private final String replacementImport;
private final String template;
private final Object[] templateParameters;
Expand Down

0 comments on commit fca4f61

Please sign in to comment.