Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-08-29 15:55:28 +0000
committerRoland Grunberg2012-08-29 17:56:43 +0000
commitede09bca9df78b00580dbeb04f5b9c30cd315ae3 (patch)
treeb6b4a134d605f11075c9173d035ee6c5d4644385 /libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests
parent5525b55a3d57b688d2938da68365534d1a1af0b6 (diff)
downloadorg.eclipse.linuxtools-ede09bca9df78b00580dbeb04f5b9c30cd315ae3.tar.gz
org.eclipse.linuxtools-ede09bca9df78b00580dbeb04f5b9c30cd315ae3.tar.xz
org.eclipse.linuxtools-ede09bca9df78b00580dbeb04f5b9c30cd315ae3.zip
Remove exceptions that are declared but not thrown.
Change-Id: Ibf6cfc6a1b3a100d3de72758da86937051326349 Reviewed-on: https://git.eclipse.org/r/7491 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests')
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/CheckDevhelp.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/CheckDevhelp.java b/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/CheckDevhelp.java
index 4210c6f1d3..1978eaf6cc 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/CheckDevhelp.java
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/CheckDevhelp.java
@@ -29,6 +29,7 @@ import org.eclipse.linuxtools.internal.cdt.libhover.preferences.PreferenceConsta
public class CheckDevhelp extends TestCase {
+ @Override
protected void setUp() throws Exception {
IPath p = LibhoverPlugin.getDefault().getStateLocation().append("C"); //$NON-NLS-1$
File f = new File(p.toOSString());
@@ -70,7 +71,8 @@ public class CheckDevhelp extends TestCase {
assertTrue(found);
}
- protected void tearDown() throws Exception {
+ @Override
+ protected void tearDown() {
}
}

Back to the top