Remove superfluous @NonNull declarations

This commit is contained in:
Juergen Hoeller
2024-03-16 14:22:17 +01:00
parent f8926d6a66
commit c3d186b4d0
6 changed files with 13 additions and 19 deletions

View File

@@ -58,7 +58,6 @@ import org.springframework.http.converter.GenericHttpMessageConverter;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.server.RequestPath;
import org.springframework.http.server.ServletServerHttpRequest;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
import org.springframework.util.CollectionUtils;
import org.springframework.util.LinkedMultiValueMap;
@@ -486,7 +485,7 @@ class DefaultServerRequest implements ServerRequest {
}
@Override
public boolean addAll(@NonNull Collection<? extends Entry<String, Object>> c) {
public boolean addAll(Collection<? extends Entry<String, Object>> c) {
throw new UnsupportedOperationException();
}
@@ -501,7 +500,7 @@ class DefaultServerRequest implements ServerRequest {
}
@Override
public boolean retainAll(@NonNull Collection<?> c) {
public boolean retainAll(Collection<?> c) {
throw new UnsupportedOperationException();
}