removed compareTo per issue #928

This commit is contained in:
Jeremy Long
2017-11-12 08:26:20 -05:00
parent 95331082d5
commit 5c44ea19cc

View File

@@ -45,7 +45,7 @@ import org.slf4j.LoggerFactory;
* @author Jeremy Long * @author Jeremy Long
*/ */
@ThreadSafe @ThreadSafe
public class Dependency extends EvidenceCollection implements Serializable, Comparable<Dependency> { public class Dependency extends EvidenceCollection implements Serializable {
/** /**
* The serial version UID for serialization. * The serial version UID for serialization.
@@ -709,18 +709,6 @@ public class Dependency extends EvidenceCollection implements Serializable, Comp
return isVirtual; return isVirtual;
} }
/**
* Implementation of the Comparable&lt;Dependency&gt; interface. The
* comparison is solely based on the file path.
*
* @param o a dependency to compare
* @return an integer representing the natural ordering
*/
@Override
public int compareTo(Dependency o) {
return this.getFilePath().compareToIgnoreCase(o.getFilePath());
}
/** /**
* Implementation of the equals method. * Implementation of the equals method.
* *