Skip to content

Commit

Permalink
Fix JavaTemplate argument in UpdateAddAnnotatedTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Dec 19, 2024
1 parent 713b88e commit 40b77d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public TreeVisitor<?, ExecutionContext> getVisitor() {
@Override
public J.MethodInvocation visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx) {
if (methodInputPattern.matches(method)) {
return JavaTemplate.builder("#{any(jakarta.enterprise.inject.spi.AnnotatedType)}, null\"")
return JavaTemplate.builder("#{any(jakarta.enterprise.inject.spi.AnnotatedType)}, null")
.build()
.apply(updateCursor(method),
method.getCoordinates().replaceArguments(),
Expand Down

0 comments on commit 40b77d2

Please sign in to comment.