tmf: Switch tmf.ui to Java 7 + fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / project / wizards / SelectTracesWizardPage.java
index a321f4d285c6a2c92194f5bf0d076ad8547d4186..ea9536dafc671c2e6b517ce322f18490eb623b3c 100644 (file)
@@ -100,7 +100,7 @@ public class SelectTracesWizardPage extends WizardPage {
         tableColumn.setText(Messages.SelectTracesWizardPage_TraceColumnHeader);
 
         // Get the list of traces already part of the experiment
-        fPreviousTraces = new HashMap<String, TmfTraceElement>();
+        fPreviousTraces = new HashMap<>();
         for (ITmfProjectModelElement child : fExperiment.getChildren()) {
             if (child instanceof TmfTraceElement) {
                 TmfTraceElement trace = (TmfTraceElement) child;
@@ -173,7 +173,7 @@ public class SelectTracesWizardPage extends WizardPage {
      * Get the list of selected traces
      */
     private TmfTraceElement[] getSelection() {
-        Vector<TmfTraceElement> traces = new Vector<TmfTraceElement>();
+        Vector<TmfTraceElement> traces = new Vector<>();
         Object[] selection = fCheckboxTableViewer.getCheckedElements();
         for (Object sel : selection) {
             if (sel instanceof TmfTraceElement) {
This page took 0.026571 seconds and 5 git commands to generate.