Fixed typo in javadoc

This commit is contained in:
Konrad Beiske 2016-02-03 12:18:05 +01:00
parent 0dfb55d72c
commit 6f915549c6
1 changed files with 4 additions and 4 deletions

View File

@ -117,10 +117,10 @@ public final class XContentBuilder implements BytesStream, Releasable {
/** /**
* Constructs a new builder using the provided xcontent, an OutputStream and * Constructs a new builder using the provided xcontent, an OutputStream and
* some filters. If filters are specified and inclusiveFilters is true, only * some filters. If {@code filters} are specified and {@code inclusive} is
* those values matching a filter will be written to the output stream. If * true, only those values matching a filter will be written to the output
* inclusiveFilters is false, those matching will be excluded. Make sure to * stream. If {@code inclusive} is false, those matching will be excluded.
* call {@link #close()} when the builder is done with. * Make sure to call {@link #close()} when the builder is done with.
*/ */
public XContentBuilder(XContent xContent, OutputStream bos, String[] filters, boolean inclusive) throws IOException { public XContentBuilder(XContent xContent, OutputStream bos, String[] filters, boolean inclusive) throws IOException {
this.bos = bos; this.bos = bos;