Skip to content

Commit

Permalink
refactor: OpenRewrite best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne committed Sep 3, 2024
1 parent bdc0d77 commit f598400
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public AtomicBoolean getInitialValue(ExecutionContext ctx) {
public TreeVisitor<?, ExecutionContext> getScanner(AtomicBoolean foundJavaProject) {
return Preconditions.check(!foundJavaProject.get(), new TreeVisitor<Tree, ExecutionContext>() {
@Override
public Tree visit(@SuppressWarnings("NullableProblems") Tree tree, ExecutionContext executionContext) {
public Tree visit(@SuppressWarnings("NullableProblems") Tree tree, ExecutionContext ctx) {
if (tree.getMarkers().findFirst(JavaProject.class).isPresent()) {
foundJavaProject.set(true);
}
Expand Down

0 comments on commit f598400

Please sign in to comment.