diff options
author | Alexander Kurtakov | 2020-07-17 06:21:53 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-07-17 09:12:18 +0000 |
commit | 9ae033d933180687aa417bbc27c15bca9f599953 (patch) | |
tree | a92e7eb6b431d71e445ee0d5a053f46934dfa96c | |
parent | 71316732ae89fd5206e4751e2eda26c770b247ac (diff) | |
download | rt.equinox.bundles-9ae033d933180687aa417bbc27c15bca9f599953.tar.gz rt.equinox.bundles-9ae033d933180687aa417bbc27c15bca9f599953.tar.xz rt.equinox.bundles-9ae033d933180687aa417bbc27c15bca9f599953.zip |
Fix warnings - useless throws declarations
Change-Id: I9394dc89b9593bc208dfa8e5cc1538ec00cfea53
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/BundleIdBasedRegionTests.java b/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/BundleIdBasedRegionTests.java index f1eaad3ff..842629dc1 100644 --- a/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/BundleIdBasedRegionTests.java +++ b/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/BundleIdBasedRegionTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011, 2013 VMware Inc. + * Copyright (c) 2011, 2020 VMware Inc. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -194,7 +194,7 @@ public class BundleIdBasedRegionTests { r.addBundle(this.mockBundle.getBundleId()); } - private Region regionForBundlePersentInAnotherRegionTest() throws BundleException { + private Region regionForBundlePersentInAnotherRegionTest() { this.regionIterator = new Iterator<Region>() { private int next = 2; diff --git a/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/StandardRegionDigraphPeristenceTests.java b/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/StandardRegionDigraphPeristenceTests.java index f68c89911..928b13a6f 100644 --- a/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/StandardRegionDigraphPeristenceTests.java +++ b/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/StandardRegionDigraphPeristenceTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011, 2013 VMware Inc. + * Copyright (c) 2011, 2020 VMware Inc. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -60,7 +60,7 @@ public class StandardRegionDigraphPeristenceTests { } @Test - public void testBasic() throws IOException, InvalidSyntaxException, BundleException { + public void testBasic() throws IOException { doTest(); } @@ -111,7 +111,7 @@ public class StandardRegionDigraphPeristenceTests { } @Test - public void testInvalidOperations() throws IOException, InvalidSyntaxException, BundleException { + public void testInvalidOperations() throws IOException, BundleException { Region boot = digraph.getRegion(BOOT_REGION); Bundle b = boot.installBundle("dynamic.add.a.1", new ByteArrayInputStream(new byte[0])); // needed because we don't have a bundle hook to add it for us @@ -176,7 +176,7 @@ public class StandardRegionDigraphPeristenceTests { } } - private void doTest() throws IOException, InvalidSyntaxException, BundleException { + private void doTest() throws IOException { // test a single write doTest(1); // test writing and reading the digraph multiple times to same stream |