mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Merge branch '7.0.x'
This commit is contained in:
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user