From 9d90770bd9ceeb7bb425fbecacf26edcb3939873 Mon Sep 17 00:00:00 2001 From: uPagge Date: Mon, 16 Nov 2020 14:36:21 +0300 Subject: [PATCH] release-0.0.2 --- pom.xml | 2 +- .../java/org/sadtech/haiti/filter/criteria/CriteriaQuery.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 19ddc23..7106a77 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.sadtech.haiti.filter haiti-filter-criteria - 0.0.1-RELEASE + 0.0.2-RELEASE Haiti Filter Criteria Fast creation of filtering requests using the Criteria Api wrapper. diff --git a/src/main/java/org/sadtech/haiti/filter/criteria/CriteriaQuery.java b/src/main/java/org/sadtech/haiti/filter/criteria/CriteriaQuery.java index f77dfe9..bedfa9b 100644 --- a/src/main/java/org/sadtech/haiti/filter/criteria/CriteriaQuery.java +++ b/src/main/java/org/sadtech/haiti/filter/criteria/CriteriaQuery.java @@ -91,7 +91,9 @@ public class CriteriaQuery implements FilterQuery { @Override public Q build() { - return (Q) specifications; + return (Q) specifications.stream() + .map(Container::getSpecification) + .collect(Collectors.toList()); } public static CriteriaQuery empty() {