diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 14:53:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 14:55:16 +0200 |
commit | 3f50c6e050ea922cb720ec88a9f38c991b1906cd (patch) | |
tree | 3142aef5dcdb47f4de7b1dab7efa855ce391a477 /testtools | |
parent | b73db446ac9681fdfc4ad602c6da7ce3e36a8588 (diff) |
java: remove ((unnecessary)) parentheses
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/servicetests/RemoteServiceTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testtools/source/servicetests/RemoteServiceTest.java b/testtools/source/servicetests/RemoteServiceTest.java index a176f9cb42a3..e63048bf642d 100644 --- a/testtools/source/servicetests/RemoteServiceTest.java +++ b/testtools/source/servicetests/RemoteServiceTest.java @@ -20,6 +20,7 @@ package servicetests; import com.sun.star.bridge.XBridgeFactory; import com.sun.star.bridge.XInstanceProvider; +import com.sun.star.bridge.XUnoUrlResolver; import com.sun.star.bridge.UnoUrlResolver; import com.sun.star.comp.helper.Bootstrap; import com.sun.star.connection.Acceptor; @@ -44,12 +45,11 @@ public final class RemoteServiceTest extends TestBase { Thread.sleep(5000); // wait for server to start accepting return new TestServiceFactory() { public Object get() throws Exception { - return (UnoUrlResolver.create( - Bootstrap.createInitialComponentContext(null))). - resolve( - "uno:" + CONNECTION_DESCRIPTION + ";" + XUnoUrlResolver resolver = UnoUrlResolver.create(Bootstrap.createInitialComponentContext(null)); + String sUrl = "uno:" + CONNECTION_DESCRIPTION + ";" + PROTOCOL_DESCRIPTION - + ";testtools.servicetests.TestService2"); + + ";testtools.servicetests.TestService2"; + return resolver.resolve(sUrl); } public void dispose() throws Exception { |