corrected compareTo to use file path, not just file name

Former-commit-id: 98e19c402cd5824aed4b3b4923b7ef72359752cf
This commit is contained in:
Jeremy Long
2014-10-22 21:12:40 -04:00
parent 1ed7bab375
commit 8f88ca9d3d

View File

@@ -579,7 +579,7 @@ public class Dependency implements Serializable, Comparable<Dependency> {
* @return an integer representing the natural ordering
*/
public int compareTo(Dependency o) {
return this.getFileName().compareToIgnoreCase(o.getFileName());
return this.getFilePath().compareToIgnoreCase(o.getFilePath());
}
/**