Fix some Sonar findings in TmfEvent
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / event / TmfEventTypeManager.java
index 5f170c7f9ae9886886a407f0638e36157910fac5..9e672e5f1d4a319f0ff8a3c38652614bd5aedc98 100644 (file)
@@ -96,7 +96,7 @@ public final class TmfEventTypeManager {
         if (types != null) {
             return types.values().toArray(new ITmfEventType[types.size()]);
         }
-        return null;
+        return new ITmfEventType[0];
     }
 
     /**
This page took 0.024103 seconds and 5 git commands to generate.