aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Hufmann2012-08-10 15:49:19 (EDT)
committerBernd Hufmann2012-08-10 15:52:38 (EDT)
commit4e795706cd963f572eb4d91b03d8083d766d016d (patch)
tree5c3ecb02aeffffe34ebb38cd6ef8b4f03dcf9949
parentc3f9016817ca572c63074b50383bd5a1f356ddb4 (diff)
downloadorg.eclipse.linuxtools-4e795706cd963f572eb4d91b03d8083d766d016d.zip
org.eclipse.linuxtools-4e795706cd963f572eb4d91b03d8083d766d016d.tar.gz
org.eclipse.linuxtools-4e795706cd963f572eb4d91b03d8083d766d016d.tar.bz2
Fix JUnit test failing after previous merge
Change-Id: Ie35a0947b90c95405ab3c887b4a8577a37097c60 Signed-off-by: Bernd Hufmann <bhufmann@gmail.com> Reviewed-on: https://git.eclipse.org/r/7188
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedDataRequest.java4
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedDataRequest.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedDataRequest.java
index c659128..d8a2e3b 100644
--- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedDataRequest.java
+++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedDataRequest.java
@@ -118,7 +118,7 @@ public class TmfCoalescedDataRequest extends TmfDataRequest {
* @param blockSize the number of events per block
*/
public TmfCoalescedDataRequest(Class<? extends ITmfEvent> dataType, long index, int nbRequested, int blockSize) {
- super(dataType, index, nbRequested, blockSize, ExecutionType.FOREGROUND);
+ super(ITmfEvent.class, index, nbRequested, blockSize, ExecutionType.FOREGROUND);
}
/**
@@ -132,7 +132,7 @@ public class TmfCoalescedDataRequest extends TmfDataRequest {
* @param priority the requested execution priority
*/
public TmfCoalescedDataRequest(Class<? extends ITmfEvent> dataType, long index, int nbRequested, int blockSize, ExecutionType priority) {
- super(dataType, index, nbRequested, blockSize, priority);
+ super(ITmfEvent.class, index, nbRequested, blockSize, priority);
}
// ------------------------------------------------------------------------
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java
index 7fb6ceb..701d678 100644
--- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java
+++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java
@@ -146,7 +146,7 @@ public class TmfCoalescedEventRequest extends TmfCoalescedDataRequest implements
* @param priority the requested execution priority
*/
public TmfCoalescedEventRequest(Class<? extends ITmfEvent> dataType, TmfTimeRange range, long index, int nbRequested, int blockSize, ExecutionType priority) {
- super(dataType, index, nbRequested, blockSize, priority);
+ super(ITmfEvent.class, index, nbRequested, blockSize, priority);
fRange = range;
if (Tracer.isRequestTraced()) {