start.setTime(startSummary);
Calendar finish = Calendar.getInstance();
finish.setTime(finishSummary);
List<EntityCondition> exprList =
WorklogUtil.createWorklogQueryExprListWithPermissionCheck(user,
<BUG>start, finish);
List<GenericValue> worklogs;</BUG>
worklogs = ComponentAccessor.getOfBizDelegator().findByAnd("IssueWorklogView", exprList);
List<GenericValue> worklogsCopy = new ArrayList<>();
worklogsCopy.addAll(worklogs);

start.setTime(startSummary);
Calendar finish = Calendar.getInstance();
finish.setTime(finishSummary);
List<EntityCondition> exprList =
WorklogUtil.createWorklogQueryExprListWithPermissionCheck(user,
start.getTimeInMillis(), finish.getTimeInMillis());
List<GenericValue> worklogs;
worklogs = ComponentAccessor.getOfBizDelegator().findByAnd("IssueWorklogView", exprList);
List<GenericValue> worklogsCopy = new ArrayList<>();
worklogsCopy.addAll(worklogs);
