Remove superfluous @NonNull declarations

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

View File

@@ -60,7 +60,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.Assert;
import org.springframework.util.CollectionUtils;
@@ -522,7 +521,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();
}
@@ -537,7 +536,7 @@ class DefaultServerRequest implements ServerRequest {
}
@Override
public boolean retainAll(@NonNull Collection<?> c) {
public boolean retainAll(Collection<?> c) {
throw new UnsupportedOperationException();
}