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;
* 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) {