ctf: make StreamInputPacketIndexEntry not Comparable
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 29 Jan 2015 14:51:35 +0000 (09:51 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 6 Feb 2015 22:08:48 +0000 (17:08 -0500)
commitc1d0f6ca3147e8344d831f3ee32dc5b0e67f9ab0
treed7ffe2ea60de1575d61da87fe0af2f1be215b75d
parent312f397a8ae6e6c514c42097ebc928b8f9e121ca
ctf: make StreamInputPacketIndexEntry not Comparable

Move the comparator to the StreamInputPacketIndex so that it is not
a true compareTo. This makes sense as compareTo needs to be a true
comparison not a partial compare. If compare returns 0, it should be
equals, not more or less equivalent.

Change-Id: I614c9f7d1eb48ac239abd7921b0fcf60fda76be3
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/40631
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndex.java
org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java
This page took 0.028164 seconds and 5 git commands to generate.