Skip to content

Commit

Permalink
Implement get and containsKey in terms of the wrapped innerMap (#77965)
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Sep 20, 2021
1 parent f20fe5f commit 2fdd5dc
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ public Set<Entry<String, String>> entrySet() {
return innerMap.entrySet();
}

@Override
public String get(Object key) {
return innerMap.get(key);
}

@Override
public boolean containsKey(Object key) {
return innerMap.containsKey(key);
}

@Override
@SuppressWarnings("unchecked")
public void writeTo(StreamOutput out) throws IOException {
Expand Down

0 comments on commit 2fdd5dc

Please sign in to comment.