Skip to content
Permalink
Browse files
pr: use LinkedHashSet for CommitCommentsWorkItem
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Mar 19, 2021
1 parent affbc38 commit 77107ba11ab6d3b11bc228f71efa88a1378b02ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bots/pr/src/main/java/org/openjdk/skara/bots/pr/CommitCommentsWorkItem.java
@@ -79,7 +79,7 @@ public Collection<WorkItem> run(Path scratchPath) {
if (commitTitleToCommits.containsKey(title)) {
commitTitleToCommits.get(title).add(commit.hash());
} else {
var set = new HashSet<Hash>();
var set = new LinkedHashSet<Hash>();
set.add(commit.hash());
commitTitleToCommits.put(title, set);
}

1 comment on commit 77107ba

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 77107ba Mar 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.