Remove unneeded checkNotNull() calls
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.ui / src / org / eclipse / tracecompass / internal / analysis / os / linux / ui / views / latency / SystemCallLatencyDensityView.java
index 5315c4fa922ed187f5e14bc4632a0641615a6683..1f4617f4a4c9a5b5951b6457539c38e4b57c49ce 100644 (file)
@@ -1,5 +1,5 @@
 /******************************************************************************
- * Copyright (c) 2015 Ericsson
+ * Copyright (c) 2015, 2016 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -13,10 +13,9 @@ import org.eclipse.jface.viewers.TableViewer;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Table;
-import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.AbstractSegmentStoreTableViewer;
 import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.density.AbstractSegmentStoreDensityView;
 import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.density.AbstractSegmentStoreDensityViewer;
-import org.eclipse.tracecompass.common.core.NonNullUtils;
+import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.table.AbstractSegmentStoreTableViewer;
 
 /**
  * System Call Density view
@@ -40,8 +39,8 @@ public class SystemCallLatencyDensityView extends AbstractSegmentStoreDensityVie
     protected AbstractSegmentStoreTableViewer createSegmentStoreTableViewer(Composite parent) {
         return new SystemCallLatencyTableViewer(new TableViewer(parent, SWT.FULL_SELECTION | SWT.VIRTUAL)) {
             @Override
-            protected void createAnalysisColumns() {
-                super.createAnalysisColumns();
+            protected void createProviderColumns() {
+                super.createProviderColumns();
                 Table t = (Table) getControl();
                 t.setColumnOrder(new int[] { 2, 3, 0, 1 });
             }
@@ -50,7 +49,7 @@ public class SystemCallLatencyDensityView extends AbstractSegmentStoreDensityVie
 
     @Override
     protected AbstractSegmentStoreDensityViewer createSegmentStoreDensityViewer(Composite parent) {
-        return new SystemCallDensityViewer(NonNullUtils.checkNotNull(parent));
+        return new SystemCallDensityViewer(parent);
     }
 
 }
This page took 0.024344 seconds and 5 git commands to generate.