tmf: Make TmfTrace.buildStateSystem() return an IStatus
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 29 Jul 2013 22:07:19 +0000 (18:07 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 30 Jul 2013 17:17:56 +0000 (13:17 -0400)
commit42459d24193bd2c8e53a73362d439bb454c69706
tree61afd4b5497bf5a0906b505e569b0135a916600a
parent1a1186db002cd2bb7f8e254628667dd0564a19eb
tmf: Make TmfTrace.buildStateSystem() return an IStatus

This removes the need for the SuppressWarnings("unused"), since
every implementation can now return an IStatus (or simply a
Status.OK_STATUS if everything went fine) instead of throwing
an exception.

Change-Id: I23f644988420bbfb4a26caf5e0099c4e26e37072
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14630
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/lttng2/kernel/core/trace/LttngKernelTrace.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java
This page took 0.02541 seconds and 5 git commands to generate.