Skip to content

Commit cc85b18

Browse files
committed
Add more nullability annotations to core/spring-boot
See gh-46587
1 parent 9387d8a commit cc85b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/spring-boot/src/main/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public void setDispatcherTypes(DispatcherType first, DispatcherType... rest) {
197197
* Sets the dispatcher types that should be used with the registration.
198198
* @param dispatcherTypes the dispatcher types
199199
*/
200-
public void setDispatcherTypes(EnumSet<DispatcherType> dispatcherTypes) {
200+
public void setDispatcherTypes(@Nullable EnumSet<DispatcherType> dispatcherTypes) {
201201
this.dispatcherTypes = dispatcherTypes;
202202
}
203203

0 commit comments

Comments
 (0)