tmf: Use getter methods instead of fields in TmfEvent#equals()
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 30 Jun 2015 21:18:10 +0000 (17:18 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 27 Aug 2015 19:47:36 +0000 (15:47 -0400)
commita5ee9b2713085059c565ce9247ff99d422a2f6b1
treecbb9a73f749dcc5a2306990d0c7be280ae09e38a
parentc56485258a0c69519a4e079ef00e5774345ab4ef
tmf: Use getter methods instead of fields in TmfEvent#equals()

Since the various getter methods in TmfEvent are not final,
which means that subclasses can (and do) extend them, the
method calls should be used instead of the object's fields
to correctly compare two such objects.

Refs bug #471733.

Change-Id: I2f4a2b8f455cfecd2b2a11f480092cd751eb50d3
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51139
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/TmfEvent.java
This page took 0.031229 seconds and 5 git commands to generate.