Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2009-02-19 16:59:16 +0000
committerJohn Arthorne2009-02-19 16:59:16 +0000
commitd4ecdfbeee7d7ef4a8a1d2697edae836e1a44187 (patch)
tree61354781d500c4c78b668f6c97c37e18d9c2f909 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator
parentb70b942f15d688dfb7c1182cb90210868c8fec16 (diff)
downloadrt.equinox.p2-d4ecdfbeee7d7ef4a8a1d2697edae836e1a44187.tar.gz
rt.equinox.p2-d4ecdfbeee7d7ef4a8a1d2697edae836e1a44187.tar.xz
rt.equinox.p2-d4ecdfbeee7d7ef4a8a1d2697edae836e1a44187.zip
Remove reference to unthrown exceptions
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtilsTest.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtilsTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtilsTest.java
index cd1cd975e..f4631fc83 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtilsTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtilsTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 IBM Corporation and others.
+ * Copyright (c) 2008, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.equinox.p2.tests.simpleconfigurator.manipulator;
-import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import org.eclipse.equinox.internal.simpleconfigurator.manipulator.SimpleConfiguratorManipulatorUtils;
@@ -20,7 +19,7 @@ import org.eclipse.equinox.p2.tests.AbstractProvisioningTest;
public class SimpleConfiguratorManipulatorUtilsTest extends AbstractProvisioningTest {
- public void testWriteBundleInfoLine() throws URISyntaxException, IOException {
+ public void testWriteBundleInfoLine() throws URISyntaxException {
String expectedLine = "javax.servlet,2.4.0.v200806031604,plugins/javax.servlet_2.4.0.v200806031604.jar,4,false";
BundleInfo bundleInfo = new BundleInfo("javax.servlet", "2.4.0.v200806031604", new URI("plugins/javax.servlet_2.4.0.v200806031604.jar"), 4, false);
String line = SimpleConfiguratorManipulatorUtils.createBundleInfoLine(bundleInfo, false);
@@ -28,7 +27,7 @@ public class SimpleConfiguratorManipulatorUtilsTest extends AbstractProvisioning
assertEquals(bundleInfo, SimpleConfiguratorUtils.parseBundleInfoLine(line, null));
}
- public void testWriteBundleInfoLineWithComma() throws URISyntaxException, IOException {
+ public void testWriteBundleInfoLineWithComma() throws URISyntaxException {
String expectedLine = "javax.servlet,2.4.0.v200806031604,plugin%2Cs/javax.servlet_2.4.0.v200806031604.jar,4,false";
BundleInfo bundleInfo = new BundleInfo("javax.servlet", "2.4.0.v200806031604", new URI("plugin,s/javax.servlet_2.4.0.v200806031604.jar"), 4, false);
String line = SimpleConfiguratorManipulatorUtils.createBundleInfoLine(bundleInfo, false);
@@ -36,7 +35,7 @@ public class SimpleConfiguratorManipulatorUtilsTest extends AbstractProvisioning
assertEquals(bundleInfo, SimpleConfiguratorUtils.parseBundleInfoLine(line, null));
}
- public void testWriteBundleInfoLineWithSpace() throws URISyntaxException, IOException {
+ public void testWriteBundleInfoLineWithSpace() throws URISyntaxException {
String expectedLine = "javax.servlet,2.4.0.v200806031604,plugin%20s/javax.servlet_2.4.0.v200806031604.jar,4,false";
BundleInfo bundleInfo = new BundleInfo("javax.servlet", "2.4.0.v200806031604", new URI("plugin%20s/javax.servlet_2.4.0.v200806031604.jar"), 4, false);
String line = SimpleConfiguratorManipulatorUtils.createBundleInfoLine(bundleInfo, false);
@@ -44,7 +43,7 @@ public class SimpleConfiguratorManipulatorUtilsTest extends AbstractProvisioning
assertEquals(bundleInfo, SimpleConfiguratorUtils.parseBundleInfoLine(line, null));
}
- public void testWriteBundleInfoLineWithAtSymbol() throws URISyntaxException, IOException {
+ public void testWriteBundleInfoLineWithAtSymbol() throws URISyntaxException {
String expectedLine = "javax.servlet,2.4.0.v200806031604,plugin@s/javax.servlet_2.4.0.v200806031604.jar,4,false";
BundleInfo bundleInfo = new BundleInfo("javax.servlet", "2.4.0.v200806031604", new URI("plugin@s/javax.servlet_2.4.0.v200806031604.jar"), 4, false);
String line = SimpleConfiguratorManipulatorUtils.createBundleInfoLine(bundleInfo, false);

Back to the top