tmf: Fix unsafe cast warning in TmfTrace
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 4 Oct 2013 21:57:28 +0000 (17:57 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Sat, 23 Nov 2013 07:47:28 +0000 (02:47 -0500)
commit0f89d4ba475bc15b04925c714a819098dc40ea23
tree5ccb331d1c14bff58f3d6fec5fd2a440fb63e16a
parent2740e05c468bf5004dba3a016ca696accf087e93
tmf: Fix unsafe cast warning in TmfTrace

Now that TmfData/EventProvider are merged, .getType() will always
return an instance of an ÌTmfEvent. Simply fix the generic types
to take this in consideration.

Change-Id: I791b59c480311a34c7416564219f6d3fed3f5951
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/17054
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/ctfadaptor/CtfTmfTraceTest.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/component/TmfEventProvider.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java
This page took 0.025563 seconds and 5 git commands to generate.