QueryBuilders does not need to be abstract (#25982)
This commit is contained in:
parent
9c8d3d3569
commit
52c79629e2
|
@ -35,9 +35,12 @@ import java.util.Collection;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A static factory for simple "import static" usage.
|
||||
* Utility class to create search queries.
|
||||
*/
|
||||
public abstract class QueryBuilders {
|
||||
public final class QueryBuilders {
|
||||
|
||||
private QueryBuilders() {
|
||||
}
|
||||
|
||||
/**
|
||||
* A query that matches on all documents.
|
||||
|
@ -693,8 +696,4 @@ public abstract class QueryBuilders {
|
|||
public static ExistsQueryBuilder existsQuery(String name) {
|
||||
return new ExistsQueryBuilder(name);
|
||||
}
|
||||
|
||||
private QueryBuilders() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue