Skip to content

Commit

Permalink
Fix compilation after recipe run
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Mar 12, 2024
1 parent a28a487 commit 0bb7731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class EntityIdForRepositoryVisitorTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec.recipe(toRecipe(EntityIdForRepositoryVisitor::new))
spec.recipe(toRecipe(() -> new EntityIdForRepositoryVisitor<>()))
.parser(JavaParser.fromJavaVersion().classpath("spring-beans", "spring-data"));
}

Expand Down

0 comments on commit 0bb7731

Please sign in to comment.