tmf: Return correct type in SourceLookupPropertySource
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Sun, 10 Apr 2016 01:41:22 +0000 (21:41 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 4 May 2016 20:23:51 +0000 (16:23 -0400)
commit1685d1234a52c2afb7ccf05f696bdb4371b82f17
tree8f6128835f3ba41d7753c6e67dfbb1f27a0ae99f
parent3335f36e94716b95ca11df1840912732c152b1bb
tmf: Return correct type in SourceLookupPropertySource

The "Line" value of the Source Lookup event property displays
correctly, but throws an AssertionFailedException upon clicking
on it.

This is due to the property source returning a Long object
instead of a String. It was using Long.valueOf(long) instead
of String.valueOf(long). Changing the return type highlights
it clearly.

Change-Id: Ie12813c67ef754b2bcf1bb38804b08565847dea8
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/70316
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventPropertySource.java
This page took 0.02555 seconds and 5 git commands to generate.