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 authored Sep 17, 2021
1 parent be4bd68 commit 6c4c5e2
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 6c4c5e2

Please sign in to comment.