Skip to content

Commit

Permalink
Assert is missing object. It was useless before Spring Framework 6.1,…
Browse files Browse the repository at this point in the history
… and will not compile on 6.1
  • Loading branch information
cigaly authored and jzheaux committed Jun 22, 2023
1 parent 3391859 commit dd469ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void setHeaders(Map<String, List<String>> headers) {
}

public void setLocales(List<Locale> locales) {
Assert.notNull("locales cannot be null");
Assert.notNull(locales, "locales cannot be null");
this.locales = locales;
}

Expand Down

0 comments on commit dd469ac

Please sign in to comment.