diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 09:54:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-05 11:31:50 +0200 |
commit | 0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897 (patch) | |
tree | 3d441110176e37c1a6ba2d15a3653d5023863075 /extensions | |
parent | d26540bb05b0443e7988da34372c86f88cbf1f6c (diff) |
java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/qa/complex/extensions/OfficeResourceLoader.java | 15 | ||||
-rw-r--r-- | extensions/test/pgp/TestPGP.java | 12 |
2 files changed, 0 insertions, 27 deletions
diff --git a/extensions/qa/complex/extensions/OfficeResourceLoader.java b/extensions/qa/complex/extensions/OfficeResourceLoader.java index 45e91e338639..cbc57f2fc739 100644 --- a/extensions/qa/complex/extensions/OfficeResourceLoader.java +++ b/extensions/qa/complex/extensions/OfficeResourceLoader.java @@ -45,21 +45,6 @@ public class OfficeResourceLoader } /* ------------------------------------------------------------------ */ -// public String[] getTestMethodNames() -// { -// return new String[] { -// "checkSimpleStringAccess", -// "checkLocales" -// }; -// } - - /* ------------------------------------------------------------------ */ -// public String getTestObjectName() -// { -// return "Extensions - OfficeResourceLoader"; -// } - - /* ------------------------------------------------------------------ */ @Before public void before() throws com.sun.star.uno.Exception, java.lang.Exception { XPropertySet orb = UnoRuntime.queryInterface(XPropertySet.class, getMSF()); diff --git a/extensions/test/pgp/TestPGP.java b/extensions/test/pgp/TestPGP.java index 78d4285f707d..d11164cb0187 100644 --- a/extensions/test/pgp/TestPGP.java +++ b/extensions/test/pgp/TestPGP.java @@ -33,7 +33,6 @@ import com.sun.star.uno.Type; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; import com.sun.star.uno.XNamingService; -// import com.sun.star.comp.bootstrap.Bootstrap; @@ -57,7 +56,6 @@ public class TestPGP { System.err.println(" couldn't get XSet from ServiceFactory"); return; } -// try{ SimplePGPMailerFactoryReg mailerReg= new SimplePGPMailerFactoryReg(); XSingleServiceFactory factory= mailerReg.getServiceFactory( "com.sun.star.pgp.SimplePGPMailerImpl", rSmgr, null, null); @@ -69,10 +67,6 @@ public class TestPGP { set.insert(factory ); System.err.println("PGP factory inserted into service manager"); -// }catch(Exception e ){ -// System.err.println( "exception caught in TestPGP"); -// } - } } @@ -84,7 +78,6 @@ public class TestPGP { System.exit(-1); } -// try { XUnoUrlResolver resolver = UnoUrlResolver.create(Bootstrap.createInitialComponentContext(null)); XConnector xConnector = UnoRuntime.queryInterface(XConnector.class, resolver.resolve("com.sun.star.connection.Connector")); @@ -94,16 +87,11 @@ public class TestPGP { IBridge iBridge = UnoRuntime.getBridgeByName("java", null, "remote", null, new Object[]{"iiop", xConnection, null}); Object rInitialObject = iBridge.mapInterfaceFrom(rootOid, new Type(XInterface.class)); -// Object rInitialObject = xBridge.getInstance("NamingService"); if(rInitialObject != null) { System.err.println("got the remote object"); doSomething(rInitialObject); } -// } -// catch (Exception exception) { -// System.err.println("Exception thrown:" + exception); -// } } } |