tmf: Annotate methods in ITmfEventField
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.tmf.ctf.core / src / org / eclipse / tracecompass / tmf / ctf / core / trace / CtfTmfTrace.java
index f517ff52ba3b1a7a886707b103bedf83cd5c87df..e91106441dc7b8590aeb9aca632464bfd2c35afe 100644 (file)
@@ -178,7 +178,7 @@ public class CtfTmfTrace extends TmfTrace
                         List<ITmfEventField> content = new ArrayList<>();
                         /* Should only return null the first time */
                         for (String fieldName : ied.getFields().getFieldsList()) {
-                            content.add(new TmfEventField(fieldName, null, null));
+                            content.add(new TmfEventField(checkNotNull(fieldName), null, null));
                         }
                         ITmfEventField contentTree = new TmfEventField(
                                 ITmfEventField.ROOT_FIELD_ID,
This page took 0.025318 seconds and 5 git commands to generate.