Remove needless throws declaration.
Change-Id: I110431f2b18df338426b0e7463671066a11cd14b
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/tests/org.eclipse.core.contenttype.tests/src/org/eclipse/core/internal/contenttype/tests/XMLRootHandlerTest.java b/tests/org.eclipse.core.contenttype.tests/src/org/eclipse/core/internal/contenttype/tests/XMLRootHandlerTest.java
index 941f3b6..d312dc8 100644
--- a/tests/org.eclipse.core.contenttype.tests/src/org/eclipse/core/internal/contenttype/tests/XMLRootHandlerTest.java
+++ b/tests/org.eclipse.core.contenttype.tests/src/org/eclipse/core/internal/contenttype/tests/XMLRootHandlerTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2020 Alex Blewitt and others.
+ * Copyright (c) 2020, 2021 Alex Blewitt and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -28,8 +28,6 @@
import org.eclipse.core.internal.content.XMLRootHandler;
-import org.eclipse.core.runtime.CoreException;
-
public class XMLRootHandlerTest {
private XMLRootHandler handler;
@@ -40,7 +38,7 @@
}
@After
- public void tearDown() throws CoreException {
+ public void tearDown() {
this.handler = null;
}