analysis : Remove checkNull() in Segment store statistic viewer
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Fri, 11 Mar 2016 17:40:09 +0000 (12:40 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Wed, 23 Mar 2016 15:27:47 +0000 (11:27 -0400)
commit0b9fc6da49ced1f8e4ee9d35e154fc87e3ce144a
tree7b44066b574b1ddac3febcacb123a435680b420d
parent59d30d83be5a8b926730d3107e0959fbbc7095c1
analysis : Remove checkNull() in Segment store statistic viewer

Previously, if the view was called and the trace is null, an exception
was raised. Now, if the trace is null, the view will do nothing. This situation
happens when using this viewer with XML views, the trace may still be null
when the viewer is updated.

Change-Id: I5f3e7dac7ef93e8b0cf795d7219278aad3fa9c90
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68228
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/AbstractSegmentStoreStatisticsViewer.java
This page took 0.026524 seconds and 5 git commands to generate.