tmf: Switch tmf.ui to Java 7 + fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / dialogs / TimeGraphFilterDialog.java
index 214938373bc08d3fcd6cc85cbddc6177df336d18..b2b1c8d3a8098a118ebf7a5e85e0bc3e8333ed39 100644 (file)
@@ -107,7 +107,7 @@ public class TimeGraphFilterDialog extends SelectionStatusDialog {
      */
     public TimeGraphFilterDialog(Shell parent) {
         super(parent);
-        setResult(new ArrayList<Object>(0));
+        setResult(new ArrayList<>(0));
         setStatusLineAboveButtons(true);
         setHelpAvailable(false);
         fExpandedElements = null;
@@ -151,7 +151,7 @@ public class TimeGraphFilterDialog extends SelectionStatusDialog {
      */
     public void addFilter(ViewerFilter filter) {
         if (fFilters == null) {
-            fFilters = new ArrayList<ViewerFilter>();
+            fFilters = new ArrayList<>();
         }
         fFilters.add(filter);
     }
This page took 0.025704 seconds and 5 git commands to generate.