From 616b3ad50404f35d84708b3feeb8c66f2f23f1b1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Aug 2014 15:29:21 +0200 Subject: java: remove exceptions from throws clauses that are not .. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10 --- extensions/test/pgp/TestPGP.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'extensions/test/pgp/TestPGP.java') 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) { -- cgit