tmf: Mark ITmfEventRequest.handleData's parameter as NonNull
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 8 May 2014 18:47:34 +0000 (14:47 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 14 May 2014 20:01:41 +0000 (16:01 -0400)
commit41f3b36b2bc020ed7c40ed6b7b1840257710395a
treeba1dbb2bea7f0825e773218401964c496a98ee51
parent0a8ee32e4ef9337b5778f9c9e0fca9105a21868d
tmf: Mark ITmfEventRequest.handleData's parameter as NonNull

It seems every single event request implementation out there does
a null check on the event it receives in handleData(). TmfEventThread
already does a null check before sending the event to this method,
so it can be marked @NonNull, which avoids a bunch of redundant checks.

Change-Id: I1d54d5f3f5a08af150ab0a6011d075a366db4b48
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/26247
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfCoalescedEventRequest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/partial/PartialHistoryBackend.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/matching/TmfEventMatching.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/request/ITmfEventRequest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/request/TmfEventRequest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/TmfStateSystemAnalysisModule.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statistics/TmfEventsStatistics.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/indexer/checkpoint/TmfCheckpointIndexer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsCache.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramRequest.java
This page took 0.031302 seconds and 5 git commands to generate.