fixed compile error

Original commit: elastic/x-pack-elasticsearch@9675f254c3
This commit is contained in:
Martijn van Groningen 2015-06-24 14:04:22 +02:00
parent bbabf8ba85
commit d1bc1e1f68
1 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.common.xcontent.XContentType;
import java.io.IOException;
import java.util.List;
import java.util.Map;
/**
@ -84,6 +85,16 @@ public class SensitiveXContentParser implements XContentParser {
return parser.mapOrdered();
}
@Override
public List<Object> list() throws IOException {
return parser.list();
}
@Override
public List<Object> listOrderedMap() throws IOException {
return parser.listOrderedMap();
}
@Override
public String text() throws IOException {
return parser.text();