aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/StructuredSelectionTest.java')
-rw-r--r--tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/StructuredSelectionTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/StructuredSelectionTest.java b/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/StructuredSelectionTest.java
index 64af9d7..0e8b5f6 100644
--- a/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/StructuredSelectionTest.java
+++ b/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/StructuredSelectionTest.java
@@ -60,11 +60,11 @@ public class StructuredSelectionTest extends TestCase {
}
public void testEquals5() { // equality is order-dependent
- List l1 = new ArrayList();
+ List<String> l1 = new ArrayList<String>();
l1.add("element 1");
l1.add("element 2");
- List l2 = new ArrayList();
+ List<String> l2 = new ArrayList<String>();
l2.add("element 2");
l2.add("element 1");
@@ -75,11 +75,11 @@ public class StructuredSelectionTest extends TestCase {
}
public void testEquals6() { // different selections
- List l1 = new ArrayList();
+ List<String> l1 = new ArrayList<String>();
l1.add("element 1");
l1.add("element 2");
- List l2 = new ArrayList();
+ List<String> l2 = new ArrayList<String>();
l2.add("element 2");
l2.add("element 3");
l2.add("element 1");