ss: remove linear component from node search.
[deliverable/tracecompass.git] / statesystem / org.eclipse.tracecompass.statesystem.core / src / org / eclipse / tracecompass / internal / statesystem / core / backend / historytree / HTInterval.java
index 7af2e4f76e4ee1680ddcbf0da996257065e1656c..96d33a73756598e2bc2353a86afd8ba08119ba29 100644 (file)
@@ -36,7 +36,7 @@ import org.eclipse.tracecompass.statesystem.core.statevalue.TmfStateValue;
  *
  * @author Alexandre Montplaisir
  */
-public final class HTInterval implements ITmfStateInterval, Comparable<HTInterval> {
+public final class HTInterval implements ITmfStateInterval {
 
     private static final Charset CHARSET = Charset.forName("UTF-8"); //$NON-NLS-1$
 
@@ -343,21 +343,6 @@ public final class HTInterval implements ITmfStateInterval, Comparable<HTInterva
         return fSizeOnDisk;
     }
 
-    /**
-     * Compare the END TIMES of different intervals. This is used to sort the
-     * intervals when we close down a node.
-     */
-    @Override
-    public int compareTo(HTInterval other) {
-        if (this.end < other.end) {
-            return -1;
-        } else if (this.end > other.end) {
-            return 1;
-        } else {
-            return 0;
-        }
-    }
-
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
This page took 0.026846 seconds and 5 git commands to generate.