public Set<Issue> find(final ActivityRequest request) { Collection<Project> projects = ImmutableSet.copyOf(getProjects(request)); if (projects.isEmpty()) { // If there are no projects then that means the user doesn't have permission to browse the requested project return ImmutableSet.of(); } return ImmutableSet.copyOf(changeHistoryManager.findUserHistory( authenticationContext.getLoggedInUser(), getUsers(request), projects, request.getMaxResults())); }