We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de5c4d2 + 8c47e4d commit 4333171Copy full SHA for 4333171
core/src/main/java/org/owasp/dependencycheck/dependency/Dependency.java
@@ -625,7 +625,7 @@ public synchronized Set<Vulnerability> getVulnerabilities(boolean sorted) {
625
if (sorted) {
626
vulnerabilitySet = new TreeSet<>(vulnerabilities);
627
} else {
628
- vulnerabilitySet = vulnerabilities;
+ vulnerabilitySet = new HashSet<>(vulnerabilities);
629
}
630
return Collections.unmodifiableSet(vulnerabilitySet);
631
0 commit comments