Skip to content

Commit

Permalink
Replace Assert.notEmpty(Collection<?> collection) with Assert.notEmpt…
Browse files Browse the repository at this point in the history
…y(Collection<?> collection, String) (#653)

Co-authored-by: bli3 <[email protected]>
  • Loading branch information
EricleeCrystal and bli3 authored Dec 30, 2024
1 parent a1e4895 commit afb0eca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/META-INF/rewrite/spring-framework-60.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ recipeList:
methodPattern: org.springframework.util.Assert notEmpty(java.util.Map)
argumentIndex: 1
literal: must not be empty
- org.openrewrite.java.AddLiteralMethodArgument:
methodPattern: org.springframework.util.Assert notEmpty(java.util.Collection)
argumentIndex: 1
literal: must not be empty

0 comments on commit afb0eca

Please sign in to comment.