Raise visibilty of #types() to public in request classes

`CountRequest` and `ValidateQueryRequest` have package
private accessors for `#types()` which is inconsitent with
other getters.
This commit is contained in:
sam 2013-12-28 23:15:31 +00:00 committed by Simon Willnauer
parent 65c4282bb9
commit 87947cb006
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ public class ValidateQueryRequest extends BroadcastOperationRequest<ValidateQuer
/** /**
* The types of documents the query will run against. Defaults to all types. * The types of documents the query will run against. Defaults to all types.
*/ */
String[] types() { public String[] types() {
return this.types; return this.types;
} }

View File

@ -180,7 +180,7 @@ public class CountRequest extends BroadcastOperationRequest<CountRequest> {
/** /**
* The types of documents the query will run against. Defaults to all types. * The types of documents the query will run against. Defaults to all types.
*/ */
String[] types() { public String[] types() {
return this.types; return this.types;
} }