Skip to content

Commit

Permalink
fix(serviceref): fix spotbugs warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo committed Jan 16, 2023
1 parent 268deb5 commit 7c14e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/cryostat/platform/ServiceRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ public static class Compare {
private Collection<ServiceRef> previous, current;

public Compare(Collection<ServiceRef> previous) {
this.previous = previous;
this.previous = new HashSet<>(previous);
}

public Compare to(Collection<ServiceRef> current) {
this.current = current;
this.current = new HashSet<>(current);
return this;
}

Expand Down

0 comments on commit 7c14e1e

Please sign in to comment.