Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Tasse2012-05-24 22:20:18 +0000
committerPatrick Tasse2012-05-24 22:31:58 +0000
commit269976b2997fae18e2de84c7d6f95b981381cfdc (patch)
tree646ff12a01022c6162cee0770f8ae97ece6290c6 /lttng/org.eclipse.linuxtools.tmf.core
parente6ceac439624e01b83808f339babb732f347989c (diff)
downloadorg.eclipse.linuxtools-269976b2997fae18e2de84c7d6f95b981381cfdc.tar.gz
org.eclipse.linuxtools-269976b2997fae18e2de84c7d6f95b981381cfdc.tar.xz
org.eclipse.linuxtools-269976b2997fae18e2de84c7d6f95b981381cfdc.zip
Allow query history range with end equal to start.
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.core')
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateHistorySystem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateHistorySystem.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateHistorySystem.java
index 1a58a16773..cd4832a8d3 100644
--- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateHistorySystem.java
+++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/StateHistorySystem.java
@@ -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();
}

Back to the top