diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 15:29:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:20 +0200 |
commit | 616b3ad50404f35d84708b3feeb8c66f2f23f1b1 (patch) | |
tree | fbff023a34b3cc62b2c5beb592b95e65ce28251b /extensions/test/pgp/TestPGP.java | |
parent | b6a83e99c8f4442c3c96198ac816dcb99419a67e (diff) |
java: remove exceptions from throws clauses that are not
.. actually thrown
Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'extensions/test/pgp/TestPGP.java')
-rw-r--r-- | extensions/test/pgp/TestPGP.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/test/pgp/TestPGP.java b/extensions/test/pgp/TestPGP.java index d11164cb0187..ce719a530c9e 100644 --- a/extensions/test/pgp/TestPGP.java +++ b/extensions/test/pgp/TestPGP.java @@ -17,8 +17,6 @@ */ -import java.io.IOException; - import com.sun.star.bridge.UnoUrlResolver; import com.sun.star.bridge.XUnoUrlResolver; import com.sun.star.comp.helper.Bootstrap; @@ -39,7 +37,7 @@ import com.sun.star.uno.XNamingService; public class TestPGP { - static void doSomething(Object r) throws com.sun.star.uno.Exception, IOException, Exception { + static void doSomething(Object r) throws com.sun.star.uno.Exception, Exception { XNamingService rName = UnoRuntime.queryInterface(XNamingService.class, r); if(rName != null) { |