Remove unneeded checkNotNull() calls
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / analysis / os / linux / core / latency / SystemCallLatencyAnalysis.java
index 1f12df8f839a2937736b566e8a04bac92e1227f0..9db321fa6abe7185b4e6cbb8839877bc0b630416 100644 (file)
@@ -47,7 +47,7 @@ public class SystemCallLatencyAnalysis extends AbstractSegmentStoreAnalysisModul
     private static final String DATA_FILENAME = "latency-analysis.dat"; //$NON-NLS-1$
 
     private static final Collection<ISegmentAspect> BASE_ASPECTS =
-            checkNotNull(ImmutableList.of(SyscallNameAspect.INSTANCE));
+            ImmutableList.of(SyscallNameAspect.INSTANCE);
 
     @Override
     public String getId() {
@@ -88,7 +88,7 @@ public class SystemCallLatencyAnalysis extends AbstractSegmentStoreAnalysisModul
             super.handleData(event);
             IKernelAnalysisEventLayout layout = fLayout;
             if (layout == null) {
-                IKernelTrace trace = checkNotNull((IKernelTrace) event.getTrace());
+                IKernelTrace trace = (IKernelTrace) event.getTrace();
                 layout = trace.getKernelEventLayout();
                 fLayout = layout;
             }
This page took 0.026381 seconds and 5 git commands to generate.