Skip to content

Commit dd469ac

Browse files
cigalyjzheaux
authored andcommitted
Assert is missing object. It was useless before Spring Framework 6.1, and will not compile on 6.1
1 parent 3391859 commit dd469ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/java/org/springframework/security/web/savedrequest/SimpleSavedRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public void setHeaders(Map<String, List<String>> headers) {
126126
}
127127

128128
public void setLocales(List<Locale> locales) {
129-
Assert.notNull("locales cannot be null");
129+
Assert.notNull(locales, "locales cannot be null");
130130
this.locales = locales;
131131
}
132132

0 commit comments

Comments
 (0)