Am 2013-08-28 07:44, schrieb Andreas Pieber:
>>               predicates.add(criteriaBuilder.equal(from.get("timestamp"), subquery));
>> -            criteriaQuery.where(predicates.toArray(new Predicate[0]));
>> +            criteriaQuery.where(predicates.toArray(new Predicate[predicates.size()]));
> the guava Iterables.toArray method might be the better fit here.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/openengsb/openengsb/pull/855/files#r6025975
>
I'll have a look at it