lami: synchronize getter for currentReport
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 21 Sep 2016 18:55:36 +0000 (14:55 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 3 Oct 2016 16:29:33 +0000 (12:29 -0400)
Fixes CID 112029

Change-Id: If431b049890d6814d318b56d62ce367561d0ea34
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Reviewed-on: https://git.eclipse.org/r/81624
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
analysis/org.eclipse.tracecompass.analysis.lami.ui/src/org/eclipse/tracecompass/internal/provisional/analysis/lami/ui/views/LamiReportViewFactory.java

index a6f51a190dff11987ac5dd339c6add555edb7424..5839d63abb10614ed1d88323603c52bc99781190 100644 (file)
@@ -36,7 +36,7 @@ public final class LamiReportViewFactory {
      *
      * @return The current report
      */
-    public static @Nullable LamiAnalysisReport getCurrentReport() {
+    public static synchronized @Nullable LamiAnalysisReport getCurrentReport() {
         return currentReport;
     }
 
This page took 0.028159 seconds and 5 git commands to generate.