QueryBuilders does not need to be abstract
@@ -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() {
-
- }
}
