tmf: Switch tmf.ui to Java 7 + fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / colors / ColorsView.java
index 436af2d0f4748491189b0d6053baababc4edb365..4ab20f0232bf9736eed7ec12e7abb6e0708c22a6 100644 (file)
@@ -159,7 +159,7 @@ public class ColorsView extends TmfView {
         gl.verticalSpacing = 1;
         fListComposite.setLayout(gl);
 
-        fColorSettings = new ArrayList<ColorSetting>(Arrays.asList(ColorSettingsManager.getColorSettings()));
+        fColorSettings = new ArrayList<>(Arrays.asList(ColorSettingsManager.getColorSettings()));
         for (ColorSetting colorSetting : fColorSettings) {
             new ColorSettingRow(fListComposite, colorSetting);
         }
@@ -373,7 +373,7 @@ public class ColorsView extends TmfView {
                                     control.dispose();
                                 }
                             }
-                            fColorSettings = new ArrayList<ColorSetting>();
+                            fColorSettings = new ArrayList<>();
                             fSelectedRow = null;
                         }
                     }
This page took 0.026023 seconds and 5 git commands to generate.