Renamed parameter

This commit is contained in:
Konrad Beiske 2016-01-15 17:59:27 +01:00
parent c13ed81d5a
commit 68742e3754
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class JsonXContentGenerator implements XContentGenerator {
this(jsonGenerator, os, true, filters);
}
public JsonXContentGenerator(JsonGenerator jsonGenerator, OutputStream os, boolean inclusiveFilters, String... filters) {
public JsonXContentGenerator(JsonGenerator jsonGenerator, OutputStream os, boolean inclusive, String... filters) {
if (jsonGenerator instanceof GeneratorBase) {
this.base = (GeneratorBase) jsonGenerator;
} else {
@ -87,7 +87,7 @@ public class JsonXContentGenerator implements XContentGenerator {
this.filter = null;
} else {
this.filter = new FilteringGeneratorDelegate(jsonGenerator,
new FilterPathBasedFilter(inclusiveFilters, filters), true, true);
new FilterPathBasedFilter(inclusive, filters), true, true);
this.generator = this.filter;
}