Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected List<Issue> findRelevantIssues(ExtendedJiraRestClient client, Collecti
final SearchResult searchResult = client.getSearchClient().searchJql(jql, max, base, null).get();
log.info("Got issues {} to {} of {}", base, base + Math.min(searchResult.getMaxResults(), searchResult.getTotal() - base), searchResult.getTotal());

retVal.addAll(HCollection.asList(searchResult.getIssues()));
retVal.addAll(HCollection.asListIterable(searchResult.getIssues()));
if ((base + max) >= searchResult.getTotal()) break;
else base += max;
}
Expand All @@ -212,7 +212,7 @@ public IExit invoke(CommandInvocation<InputStream, PrintStream> invocation) thro
final List<Issue> relevantIssues = findRelevantIssues(client, request.getUsers().keySet(), request.getStart(), request.getEnd());
log.info("Found: {}", relevantIssues.stream().map(Issue::getKey).collect(HCollector.joining(", ", ", & ")));
for (Issue issue : relevantIssues) {
final Set<String> components = HCollection.asList(issue.getComponents()).stream().map(BasicComponent::getName).collect(Collectors.toSet());
final Set<String> components = HCollection.asListIterable(issue.getComponents()).stream().map(BasicComponent::getName).collect(Collectors.toSet());
final Set<String> billableComponents = HCollection.intersection(components, request.getBillableComponents());
if (billableComponents.isEmpty()) continue;

Expand Down