From 9fa079d7664a439eca040026f15b5fe4a8bd41a5 Mon Sep 17 00:00:00 2001 From: Marc Becker Date: Fri, 22 Mar 2024 08:35:30 +0000 Subject: [PATCH] Fix test --- .../com/sap/openrewrite/recipe/SelectWithStringSearch.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/sap/openrewrite/recipe/SelectWithStringSearch.java b/src/main/java/com/sap/openrewrite/recipe/SelectWithStringSearch.java index 39f95c4..2d57f2d 100644 --- a/src/main/java/com/sap/openrewrite/recipe/SelectWithStringSearch.java +++ b/src/main/java/com/sap/openrewrite/recipe/SelectWithStringSearch.java @@ -3,12 +3,10 @@ import org.openrewrite.ExecutionContext; import org.openrewrite.Recipe; import org.openrewrite.TreeVisitor; -import org.openrewrite.internal.ListUtils; import org.openrewrite.java.JavaIsoVisitor; import org.openrewrite.java.MethodMatcher; import org.openrewrite.java.tree.J; import org.openrewrite.java.tree.J.Literal; -import org.openrewrite.java.tree.J.MethodInvocation; import org.openrewrite.java.tree.JavaType; import org.openrewrite.marker.SearchResult; @@ -33,7 +31,7 @@ public TreeVisitor getVisitor() { MethodMatcher matcher = new MethodMatcher("com.sap.cds.ql.Select columns(..)"); return new JavaIsoVisitor() { - @Override + /* @Override public MethodInvocation visitMethodInvocation(MethodInvocation method, ExecutionContext p) { MethodInvocation m = super.visitMethodInvocation(method, p); @@ -47,7 +45,7 @@ public MethodInvocation visitMethodInvocation(MethodInvocation method, })); } return m; - } + } */ @Override public Literal visitLiteral(Literal literal, ExecutionContext p) {