ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / request / TmfEventRequest.java
index 1900fc4adcbc4d693fd3797e0360ea05d9987b48..c37bb1173a367b2462561c04297906862da01161 100644 (file)
@@ -82,10 +82,12 @@ public abstract class TmfEventRequest implements ITmfEventRequest {
     /** The requested events time range */
     private final TmfTimeRange fRange;
 
-    /** The index (rank) of the requested event */
+    /** The index (rank) of the requested event
+     * @since 3.0*/
     protected long fIndex;
 
-    /** The number of requested events (ALL_DATA for all) */
+    /** The number of requested events (ALL_DATA for all)
+     * @since 3.0*/
     protected int fNbRequested;
 
     /** The number of reads so far */
@@ -200,6 +202,9 @@ public abstract class TmfEventRequest implements ITmfEventRequest {
         return fIndex;
     }
 
+    /**
+     * @since 3.0
+     */
     @Override
     public ExecutionType getExecType() {
         return fExecType;
@@ -271,9 +276,7 @@ public abstract class TmfEventRequest implements ITmfEventRequest {
 
     @Override
     public void handleData(ITmfEvent event) {
-        if (event != null) {
-            fNbRead++;
-        }
+        fNbRead++;
     }
 
     @Override
This page took 0.030378 seconds and 5 git commands to generate.