analysis.graph: Fix getHead() to return the earliest vertex
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Thu, 11 Feb 2016 17:39:24 +0000 (12:39 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Fri, 12 Feb 2016 22:24:30 +0000 (17:24 -0500)
commitce81d50152abe1a5861b4aad3d09f9b3d09cead2
tree0526177d47ec4e4d1ec61686c54b21b6f34ac104
parent405a6506b804a6584be8b5f15e332727c497c424
analysis.graph: Fix getHead() to return the earliest vertex

Instead of returning the first vertex of the first element, make sure it
returns the earliest vertex.

Change-Id: I4c29fa02f97128ca80e8510560c8ae5512f3d72c
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/66418
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.graph.core.tests/src/org/eclipse/tracecompass/analysis/graph/core/tests/graph/TmfGraphTest.java
analysis/org.eclipse.tracecompass.analysis.graph.core/src/org/eclipse/tracecompass/analysis/graph/core/base/TmfGraph.java
This page took 0.02545 seconds and 5 git commands to generate.