Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public V put(K key, V value) {
}

@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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public List<String> put(String key, List<String> value) {
}

@Override
public List<String> remove(Object key) {
public @Nullable List<String> remove(Object key) {
return this.headers.remove(key);
}

Expand Down