tmf: Fix regression in event requests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / event / TmfTimeRange.java
index 561f9c7386346e616409539cfc8a5c1e9a823eaa..556122c48270f2f409ffbe29f9fbb902bef07e81 100644 (file)
@@ -154,20 +154,6 @@ public final class TmfTimeRange {
                         : fEndTime);
     }
 
-    /**
-     * Get the union of two time ranges
-     *
-     * @param range the other time range
-     * @return the intersection time range, or null if no intersection exists
-     *
-     * @since 2.0
-     */
-    public TmfTimeRange getUnion(final TmfTimeRange range) {
-        ITmfTimestamp start = (fStartTime.compareTo(range.fStartTime, true) < 0) ? fStartTime : range.fStartTime;
-        ITmfTimestamp end   = (fEndTime.compareTo(range.fEndTime, true) < 0)     ? fEndTime   : range.fEndTime;
-        return new TmfTimeRange(start, end);
-    }
-
     // ------------------------------------------------------------------------
     // Object
     // ------------------------------------------------------------------------
This page took 0.026365 seconds and 5 git commands to generate.