tmf: Fix Unsafe cast error when targetting Luna
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / viewers / tree / TmfTreeViewerEntry.java
index b79ae72b7370760c91a52a83ed380bd17f7dbd15..e5e07434606a7c86dcc92d24ab79136931fb51aa 100644 (file)
@@ -15,6 +15,8 @@ package org.eclipse.linuxtools.tmf.ui.viewers.tree;
 import java.util.List;
 import java.util.concurrent.CopyOnWriteArrayList;
 
+import org.eclipse.jdt.annotation.NonNull;
+
 /**
  * Basic implementation of an entry for the TMF tree viewer. A name is all that is needed for this entry.
  *
@@ -27,6 +29,7 @@ public class TmfTreeViewerEntry implements ITmfTreeViewerEntry {
     private ITmfTreeViewerEntry fParent = null;
 
     /** List of child entries */
+    @NonNull
     private final List<ITmfTreeViewerEntry> fChildren = new CopyOnWriteArrayList<>();
 
     /** Name of this entry (default text to show in first column) */
This page took 0.037761 seconds and 5 git commands to generate.