ss: Properly implement hashCode/equals in HTInterval
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 27 Jun 2016 20:46:13 +0000 (16:46 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 29 Jun 2016 21:04:57 +0000 (17:04 -0400)
commit43605883ae6ce755e324ef504bbd7c52271c5468
treec485415d257c7ff99268bb445b618a3516740860
parenta09b0f0300dd814f539d2468d6322a28e8319fd2
ss: Properly implement hashCode/equals in HTInterval

The equals() was wrongly calling .compareTo(), which only
checks the end times, not the whole object.

Change-Id: I235d01b3cd19a668e0808233eedcd5c1f50c5b57
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/76059
Reviewed-by: Hudson CI
statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/backend/historytree/HTInterval.java
This page took 0.02512 seconds and 5 git commands to generate.