Allow query history range with end equal to start.
authorPatrick Tasse <patrick.tasse@gmail.com>
Thu, 24 May 2012 22:20:18 +0000 (18:20 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Thu, 24 May 2012 22:31:58 +0000 (18:31 -0400)
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateHistorySystem.java

index 1a58a16773d370aa0e7e1149d4fb16f4bd70a47f..cd4832a8d37b7564973b08f1a3e928f3f84ea8c4 100644 (file)
@@ -219,7 +219,7 @@ public class StateHistorySystem extends StateSystem implements
         long ts, tEnd;
 
         /* Make sure the time range makes sense */
-        if (t2 <= t1 || resolution <= 0) {
+        if (t2 < t1 || resolution <= 0) {
             throw new TimeRangeException();
         }
 
This page took 0.036893 seconds and 5 git commands to generate.