diff options
author | Patrick Tasse | 2012-05-24 22:20:18 +0000 |
---|---|---|
committer | Patrick Tasse | 2012-05-24 22:31:58 +0000 |
commit | 269976b2997fae18e2de84c7d6f95b981381cfdc (patch) | |
tree | 646ff12a01022c6162cee0770f8ae97ece6290c6 /lttng/org.eclipse.linuxtools.tmf.core | |
parent | e6ceac439624e01b83808f339babb732f347989c (diff) | |
download | org.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.java | 2 |
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(); } |