Skip to content

Commit

Permalink
refactor: Common static analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and app committed Mar 12, 2024
1 parent 7ce1fa2 commit a28a487
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(() -> new EntityIdForRepositoryVisitor<>()))
spec.recipe(toRecipe(EntityIdForRepositoryVisitor::new))
.parser(JavaParser.fromJavaVersion().classpath("spring-beans", "spring-data"));
}

Expand Down

0 comments on commit a28a487

Please sign in to comment.