} finally {
MyBatis.closeQuietly(session);
}
}
@VisibleForTesting
<BUG>List<IssueDto> selectIssues(IssueQuery query, Collection<Integer> authorizedRootProjectIds, Integer maxResult) {
</BUG>
SqlSession session = mybatis.openSession();
try {
<BUG>return selectIssues(query, authorizedRootProjectIds, maxResult, session);
</BUG>
} finally {

} finally {
MyBatis.closeQuietly(session);
}
}
public List<IssueDto> selectNonClosedIssuesByRootComponent(int componentId) {
SqlSession session = mybatis.openSession();
try {
IssueMapper mapper = session.getMapper(IssueMapper.class);
return mapper.selectNonClosedIssues(componentId);
} finally {
