From 2c77675917c1a24668acedcc44d34a07b0355f9f Mon Sep 17 00:00:00 2001 From: Michael Reiche Date: Thu, 31 Mar 2022 09:18:04 -0700 Subject: [PATCH] Fix javadoc from querydsl commit. Closes #1383. --- .../couchbase/document/AbstractCouchbaseQueryDSL.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/querydsl/couchbase/document/AbstractCouchbaseQueryDSL.java b/src/main/java/com/querydsl/couchbase/document/AbstractCouchbaseQueryDSL.java index 66b6744fc..7acf2bbca 100644 --- a/src/main/java/com/querydsl/couchbase/document/AbstractCouchbaseQueryDSL.java +++ b/src/main/java/com/querydsl/couchbase/document/AbstractCouchbaseQueryDSL.java @@ -60,15 +60,15 @@ public AbstractCouchbaseQueryDSL(CouchbaseDocumentSerializer serializer) { } /** - * mongodb uses createQuery(Predicate filter) where the serializer creates the 'query'
+ * other spring-data project uses createQuery(Predicate filter) where the serializer creates the 'query'
* and then uses the result to create a BasicQuery with queryObject = result
* Couchbase Query has a 'criteria' which is a
- * List criteria
+ * List<QueryCriteriaDefinition> criteria
* so we could create a List<QueryCriteriaDefinition> or an uber QueryCriteria that combines
* all the sub QueryDefinitions in the filter. */ protected QueryCriteriaDefinition createCriteria(Predicate predicate) { - // mongodb uses createQuery(Predicate filter) where the serializer creates the 'queryObject' of the BasicQuery + // other project use createQuery(Predicate filter) where the serializer creates the 'queryObject' of the BasicQuery return predicate != null ? (QueryCriteriaDefinition) this.serializer.handle(predicate) : null; }