Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2013-11-15 06:39:49 +0000
committerAlexander Kurtakov2013-11-15 06:40:43 +0000
commitc2ffd5860b51fc5ca6b19bf4b4bdb879c1d297fa (patch)
tree861e3f9e21069fc19f843295f7703ebc42458aa2 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository
parent10d37f35fc48d728419738510c54d3a4a78abf2e (diff)
downloadrt.equinox.p2-c2ffd5860b51fc5ca6b19bf4b4bdb879c1d297fa.tar.gz
rt.equinox.p2-c2ffd5860b51fc5ca6b19bf4b4bdb879c1d297fa.tar.xz
rt.equinox.p2-c2ffd5860b51fc5ca6b19bf4b4bdb879c1d297fa.zip
Bug 421798 - Fix various warnings.
* Remove unneeded casts. * Remove unneeded throws. * Remove unneeded semicolons. Change-Id: I7454ea216cfc194a0d394550feecc29042d23363 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/FileReaderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/FileReaderTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/FileReaderTest.java
index 04d75677d..2deccbcf8 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/FileReaderTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/repository/FileReaderTest.java
@@ -58,7 +58,7 @@ public class FileReaderTest extends AbstractTestServerClientCase {
/**
* Tests a successful read.
*/
- public void testRead() throws URISyntaxException, CoreException, IOException {
+ public void testRead() throws URISyntaxException {
RepositoryTransport transport = new RepositoryTransport();
URI toDownload = new URI(getBaseURL() + "/public/index.html");
OutputStream target = new ByteArrayOutputStream();

Back to the top