add isClosed method to SensitiveXContentParser

Original commit: elastic/x-pack-elasticsearch@b1cada3bfc
This commit is contained in:
jaymode 2015-07-24 14:44:52 -04:00
parent ba5900cf0b
commit 868b6b01cf
1 changed files with 5 additions and 0 deletions

View File

@ -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();