Merge branch '7.0.x'

This commit is contained in:
Sam Brannen
2026-07-20 11:07:00 +03:00
2 changed files with 2 additions and 2 deletions
@@ -117,7 +117,7 @@ final class CompositeMap<K, V extends @Nullable Object> implements Map<K, V> {
}
@Override
public V remove(Object key) {
public @Nullable V remove(Object key) {
V firstResult = this.first.remove(key);
V secondResult = this.second.remove(key);
if (firstResult != null) {
@@ -510,7 +510,7 @@ public class StompHeaders implements MultiValueMap<String, String>, Serializable
}
@Override
public List<String> remove(Object key) {
public @Nullable List<String> remove(Object key) {
return this.headers.remove(key);
}