release-0.0.2

This commit is contained in:
uPagge 2020-11-16 14:36:21 +03:00
parent a81219db16
commit 9d90770bd9
No known key found for this signature in database
GPG Key ID: A76EB343414E022E
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<groupId>org.sadtech.haiti.filter</groupId>
<artifactId>haiti-filter-criteria</artifactId>
<version>0.0.1-RELEASE</version>
<version>0.0.2-RELEASE</version>
<name>Haiti Filter Criteria</name>
<description>Fast creation of filtering requests using the Criteria Api wrapper.</description>

View File

@ -91,7 +91,9 @@ public class CriteriaQuery<T> implements FilterQuery {
@Override
public <Q> Q build() {
return (Q) specifications;
return (Q) specifications.stream()
.map(Container::getSpecification)
.collect(Collectors.toList());
}
public static <E> CriteriaQuery<E> empty() {