Skip to content

Commit 4725898

Browse files
committed
fix: resolve compilation error due to cpe-parser ICpe now extending Comparable<ICpe>
1 parent 3966492 commit 4725898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/owasp/dependencycheck/dependency/VulnerableSoftware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public VulnerableSoftware(Part part, String vendor, String product, String versi
124124
//CSON: ParameterNumber
125125

126126
@Override
127-
public int compareTo(@NotNull Object o) {
127+
public int compareTo(@NotNull ICpe o) {
128128
if (o instanceof VulnerableSoftware) {
129129
final VulnerableSoftware other = (VulnerableSoftware) o;
130130
return new CompareToBuilder()

0 commit comments

Comments
 (0)