Assert is missing object. It was useless before Spring Framework 6.1, and will not compile on 6.1

This commit is contained in:
Cedomir Igaly 2023-06-22 12:56:51 +02:00 committed by Josh Cummings
parent 339185998a
commit dd469ac2a0

View File

@ -126,7 +126,7 @@ public class SimpleSavedRequest implements SavedRequest {
}
public void setLocales(List<Locale> locales) {
Assert.notNull("locales cannot be null");
Assert.notNull(locales, "locales cannot be null");
this.locales = locales;
}