add isClosed method to SensitiveXContentParser
Original commit: elastic/x-pack-elasticsearch@b1cada3bfc
This commit is contained in:
parent
ba5900cf0b
commit
868b6b01cf
|
@ -230,6 +230,11 @@ public class SensitiveXContentParser implements XContentParser {
|
|||
return parser.getTokenLocation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isClosed() {
|
||||
return parser.isClosed();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws ElasticsearchException {
|
||||
parser.close();
|
||||
|
|
Loading…
Reference in New Issue