Polishing

This commit is contained in:
Juergen Hoeller
2026-02-17 12:27:00 +01:00
parent 508b31da4f
commit 8bf85d2596
2 changed files with 3 additions and 3 deletions
@@ -2336,9 +2336,9 @@ public class HttpHeaders implements Serializable {
@Override
public List<String> setValue(List<String> value) {
List<String> previousValues = Objects.requireNonNull(CaseInsensitiveEntrySet.this.headers.get(this.key));
List<String> previous = Objects.requireNonNull(CaseInsensitiveEntrySet.this.headers.get(this.key));
CaseInsensitiveEntrySet.this.headers.put(this.key, value);
return previousValues;
return previous;
}
@Override
@@ -148,7 +148,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
/**
* Configure a reactive adapter registry. This is needed for cases where the response is
* fully handled within the controller in combination with an async void return value.
* <p>By default this is a {@link ReactiveAdapterRegistry} with default settings.
* <p>By default, this is a {@link ReactiveAdapterRegistry} with default settings.
*/
public void setReactiveAdapterRegistry(ReactiveAdapterRegistry registry) {
this.reactiveAdapterRegistry = registry;