summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 09:54:58 +0200
committerNoel Grandin <noel@peralex.com>2014-08-05 11:31:50 +0200
commit0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897 (patch)
tree3d441110176e37c1a6ba2d15a3653d5023863075 /jurt
parentd26540bb05b0443e7988da34372c86f88cbf1f6c (diff)
java: remove commented out code
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/comp/loader/FactoryHelper.java1
-rw-r--r--jurt/com/sun/star/comp/servicemanager/ServiceManager.java1
-rw-r--r--jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java9
-rw-r--r--jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java8
-rw-r--r--jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java1
5 files changed, 0 insertions, 20 deletions
diff --git a/jurt/com/sun/star/comp/loader/FactoryHelper.java b/jurt/com/sun/star/comp/loader/FactoryHelper.java
index 64ef51fbca5f..2a712011346a 100644
--- a/jurt/com/sun/star/comp/loader/FactoryHelper.java
+++ b/jurt/com/sun/star/comp/loader/FactoryHelper.java
@@ -55,7 +55,6 @@ public class FactoryHelper {
static protected class Factory
implements XSingleServiceFactory, XSingleComponentFactory, XServiceInfo,
XTypeProvider {
-// private static final boolean DEBUG = false;
protected XMultiServiceFactory _xMultiServiceFactory;
protected XRegistryKey _xRegistryKey;
diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
index 4a4a4e6f05e6..a4a5f8d865c8 100644
--- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
+++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -284,7 +284,6 @@ public class ServiceManager implements XMultiServiceFactory,
}
return null;
}
-// public String[] getAvailableServiceNames();
/**
* Removes all listeners from the <code>ServiceManager</code> and clears the
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
index b5e240bc3a0a..6cd54f0b2e1a 100644
--- a/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
+++ b/jurt/com/sun/star/lib/uno/environments/remote/JobQueue.java
@@ -94,15 +94,6 @@ public class JobQueue {
}
if(DEBUG) System.err.println("##### " + getClass().getName() + ".run - exit:" + _threadId);
-
-// try {
-// Object object = new Object();
-// synchronized(object) {
-// object.wait();
-// }
-// }
-// catch(InterruptedException interruptedException) {
-// }
}
}
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
index 6be7a7bdd06f..f907a3c1cb08 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/TestWorkAt.java
@@ -52,23 +52,15 @@ class TestWorkAt implements TestIWorkAt {
if(_sync_thread == null)
_sync_thread = Thread.currentThread();
-// if(_sync_thread != Thread.currentThread())
-// _passedAync = false;
-
if(DEBUG) System.err.println("syncCall:" + _sync_counter + " " + _passedAync + " " + Thread.currentThread());
}
public synchronized void asyncCall() throws Throwable {
-// Thread.sleep(50);
-
++ _async_counter;
if(_async_thread == null)
_async_thread = Thread.currentThread();
-// if(_async_thread != Thread.currentThread())
-// _passedAync = false;
-
if(DEBUG) System.err.println("asyncCall:" + _async_counter + " " + Thread.currentThread());
}
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 89f1d9008f93..05b91a1d466c 100644
--- a/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
+++ b/jurt/workbench/com/sun/star/comp/urlresolver/UrlResolver_Test.java
@@ -25,7 +25,6 @@ import com.sun.star.bridge.UnoUrlResolver;
import com.sun.star.bridge.XUnoUrlResolver;
import com.sun.star.beans.XPropertySet;
import com.sun.star.uno.UnoRuntime;
-//import com.sun.star.connection.NoConnectionException;
/** start the office with these options <br>
soffice --accept=socket,host=localhost,port=8100;urp;