diff options
Diffstat (limited to 'org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PopupTests.java')
-rw-r--r-- | org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PopupTests.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PopupTests.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PopupTests.java index 4ad73eba1..f1c0a97ae 100644 --- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PopupTests.java +++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PopupTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2013 Wind River Systems and others. + * Copyright (c) 2009, 2018 Wind River Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -195,10 +195,10 @@ abstract public class PopupTests extends AbstractViewerModelTest implements ITes } private boolean areTreeSelectionsEqual(ITreeSelection sel1, ITreeSelection sel2) { - Set<TreePath> sel1Set = new HashSet<TreePath>(); + Set<TreePath> sel1Set = new HashSet<>(); sel1Set.addAll( Arrays.asList(sel1.getPaths()) ); - Set<TreePath> sel2Set = new HashSet<TreePath>(); + Set<TreePath> sel2Set = new HashSet<>(); sel2Set.addAll( Arrays.asList(sel2.getPaths()) ); return sel1Set.equals(sel2Set); |