mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-01 08:29:09 +00:00
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:
parent
65c4282bb9
commit
87947cb006
@ -153,7 +153,7 @@ public class ValidateQueryRequest extends BroadcastOperationRequest<ValidateQuer
|
||||
/**
|
||||
* The types of documents the query will run against. Defaults to all types.
|
||||
*/
|
||||
String[] types() {
|
||||
public String[] types() {
|
||||
return this.types;
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@ public class CountRequest extends BroadcastOperationRequest<CountRequest> {
|
||||
/**
|
||||
* The types of documents the query will run against. Defaults to all types.
|
||||
*/
|
||||
String[] types() {
|
||||
public String[] types() {
|
||||
return this.types;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user