Skip to content

Commit 40b77d2

Browse files
committed
Fix JavaTemplate argument in UpdateAddAnnotatedTypes
1 parent 713b88e commit 40b77d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
4343
@Override
4444
public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx) {
4545
if (methodInputPattern.matches(method)) {
46-
return JavaTemplate.builder("#{any(jakarta.enterprise.inject.spi.AnnotatedType)}, null\"")
46+
return JavaTemplate.builder("#{any(jakarta.enterprise.inject.spi.AnnotatedType)}, null")
4747
.build()
4848
.apply(updateCursor(method),
4949
method.getCoordinates().replaceArguments(),

0 commit comments

Comments
 (0)