mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-28 20:02:16 +01:00
corrected compareTo to use file path, not just file name
Former-commit-id: 98e19c402cd5824aed4b3b4923b7ef72359752cf
This commit is contained in:
@@ -579,7 +579,7 @@ public class Dependency implements Serializable, Comparable<Dependency> {
|
|||||||
* @return an integer representing the natural ordering
|
* @return an integer representing the natural ordering
|
||||||
*/
|
*/
|
||||||
public int compareTo(Dependency o) {
|
public int compareTo(Dependency o) {
|
||||||
return this.getFileName().compareToIgnoreCase(o.getFileName());
|
return this.getFilePath().compareToIgnoreCase(o.getFilePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user