tmf: Fix NPE in the TimeGraphControl.
authorEtienne Bergeron <etienne.bergeron@gmail.com>
Thu, 28 Nov 2013 00:48:26 +0000 (19:48 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 28 Nov 2013 14:55:43 +0000 (09:55 -0500)
commit517fe01b215c56308d71d9b1d68190472212fffa
treee1bb45d6c388682227d8cce5b432e4e2c7a08028
parentc0c7c656988f9f94b4aa011827cdd2a7afc430ca
tmf: Fix NPE in the TimeGraphControl.

On TMF startup, the variable fEventColorMap may be <null>.

    for (Color color : fEventColorMap) {

Change-Id: I83db13bffa93c4c1fbbcbc21198f3660b56866b3
Signed-off-by: Etienne Bergeron <etienne.bergeron@gmail.com>
Reviewed-on: https://git.eclipse.org/r/19025
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
This page took 0.026618 seconds and 5 git commands to generate.