summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-05 11:03:50 +0200
committerNoel Grandin <noel@peralex.com>2014-12-05 11:15:57 +0200
commitc199b76d882619bf9c4169631bc265e5bd2ca7fe (patch)
treeaca1e89f3bc907a8f7b8e0fe5702bbe619f4a6a8 /jurt
parentdb203e59d6b54112cbf42923d4f02940b15e3c9f (diff)
java: remove some unused local variables
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/environments/remote/Job.java1
-rw-r--r--jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/Job.java b/jurt/com/sun/star/lib/uno/environments/remote/Job.java
index 1d8b3661467d..a9cd28d5c0df 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/Job.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/Job.java
@@ -77,7 +77,6 @@ public class Job {
* @return the result of the message.
*/
public Object execute() throws Throwable {
- Object msgResult = _iMessage.getResult();
if (_iMessage.isRequest()) {
Object result = null;
Throwable exception = null;
diff --git a/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java b/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
index 05b91a1d466c..e0b4ac8e3a1b 100644
--- a/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
+++ b/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
@@ -36,7 +36,7 @@ public class UrlResolver_Test
XComponentContext xcomponentcontext = Bootstrap.createInitialComponentContext( null );
// initial serviceManager
- XMultiComponentFactory xLocalServiceManager = xcomponentcontext.getServiceManager();
+ xcomponentcontext.getServiceManager();
// create a connector, so that it can contact the office
XUnoUrlResolver urlResolver