Fix latest batch of null warnings
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.tmf.ctf.core / src / org / eclipse / tracecompass / tmf / ctf / core / event / CtfTmfEvent.java
index 6c1688300d862047bb8960f7e36be34bbc973bfd..a856e0835807e26ef8f1de1a8832db509dc483c0 100644 (file)
@@ -20,6 +20,7 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.tracecompass.ctf.core.event.EventDefinition;
@@ -280,7 +281,7 @@ public class CtfTmfEvent extends TmfEvent
             }
         }
 
-        return checkNotNull(fields.toArray(new CtfTmfEventField[fields.size()]));
+        return checkNotNull(fields.toArray(new @NonNull CtfTmfEventField[fields.size()]));
     }
 
     // ------------------------------------------------------------------------
This page took 0.039691 seconds and 5 git commands to generate.