diff options
Diffstat (limited to 'tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/IdentitySetTest.java')
-rw-r--r-- | tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/IdentitySetTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/IdentitySetTest.java b/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/IdentitySetTest.java index 55e7ed75fed..8bbfa191cce 100644 --- a/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/IdentitySetTest.java +++ b/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/IdentitySetTest.java @@ -47,7 +47,7 @@ public class IdentitySetTest { @Test public void testConstructor_NullComparer() { try { - new ViewerElementSet(null); + new ViewerElementSet<>(null); fail("Constructor should throw exception when null comparer passed in"); } catch (RuntimeException expected) { } @@ -56,7 +56,7 @@ public class IdentitySetTest { @Test public void testConstructorWithCollection_NullCollection() { try { - new ViewerElementSet(null); + new ViewerElementSet<>(null); fail("Constructor should throw exception when null collection passed in"); } catch (RuntimeException expected) { } |