tmf: Make custom trace output column name @NonNull
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / internal / tmf / core / parsers / custom / CustomEventAspects.java
index 060532013c46fb7f040cc7f21a68b547055ca503..26a79159ffde66a342f48bec8204f57596b8534c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2014 Ericsson
+ * Copyright (c) 2010, 2015 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -94,9 +94,7 @@ public class CustomEventAspects {
         List<OutputColumn> outputs = definition.outputs;
         for (int i = 0; i < outputs.size(); i++) {
             String name = outputs.get(i).name;
-            if (name != null) {
-                builder.add(new CustomEventFieldAspect(name, i));
-            }
+            builder.add(new CustomEventFieldAspect(name, i));
         }
         return checkNotNull(builder.build());
     }
This page took 0.038256 seconds and 5 git commands to generate.