Restrictions.or(
Restrictions.isNull("entityVersion"),
Restrictions.eq("entityVersion", entry.getValue())
)
));
<BUG>}
result = criteria.list();
}
return result != null ? result : new LinkedList<Content>();</BUG>
}

Restrictions.or(
Restrictions.isNull("entityVersion"),
Restrictions.eq("entityVersion", entry.getValue())
)
));
}
return this.cpQueryFactory.<Content>buildQuery(this.currentSession(), criteria);
}
