q.setMaxResults(maxcount);
}
long l = System.currentTimeMillis();
@SuppressWarnings("unchecked")
Collection<Document> entityList = q.getResultList();
<BUG>logger.fine("getDocumentsByType - getResultList in " + (System.currentTimeMillis() - l) + " ms");
</BUG>
if (entityList == null)
return result;
<BUG>logger.fine("getDocumentsByType - ResultList size=" + entityList.size());
</BUG>
l = System.currentTimeMillis();

q.setMaxResults(maxcount);
}
long l = System.currentTimeMillis();
@SuppressWarnings("unchecked")
Collection<Document> entityList = q.getResultList();
logger.fine("getDocumentsByQuery in " + (System.currentTimeMillis() - l) + " ms");
if (entityList == null)
return result;
logger.fine("getDocumentsByQuery - ResultList size=" + entityList.size());
l = System.currentTimeMillis();
