Skip to content

Commit

Permalink
Make another JavaTemplate context-free
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Mar 13, 2024
1 parent a692563 commit 409f50a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public J.MethodDeclaration visitMethodDeclaration(J.MethodDeclaration method, Ex
if (m != method) {
if (cta.expectedException != null) {
m = JavaTemplate.builder("org.junit.jupiter.api.function.Executable o = () -> #{};")
.contextSensitive()
.javaParser(javaParser(ctx))
.build()
.apply(
Expand Down

0 comments on commit 409f50a

Please sign in to comment.