Skip to content

Commit

Permalink
StashApiClient: Use Iterable instead of List as argument when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
proski authored and jakub-bochenski committed Nov 5, 2019
1 parent 98bc0b5 commit 46b1550
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ private StashPullRequestActivityResponse parseCommentJson(String response) throw

@Nonnull
private List<StashPullRequestComment> extractComments(
List<StashPullRequestActivityResponse> responses) {
Iterable<StashPullRequestActivityResponse> responses) {
List<StashPullRequestComment> comments = new ArrayList<>();
for (StashPullRequestActivityResponse parsedResponse : responses) {
for (StashPullRequestActivity a : parsedResponse.getPrValues()) {
Expand Down

0 comments on commit 46b1550

Please sign in to comment.