summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-08-06 00:12:34 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-08-06 00:13:27 +0200
commitb80b7ba1791cdd9e79ed7a380b8981878f46b8a4 (patch)
tree0c9e3df7abbaf4a547af03442663a2c978ebde21 /bridges
parentc04c2114d9159646dddd4807d026c9fee6953817 (diff)
Static method sleep from Thread should be accessed in a static way
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
Diffstat (limited to 'bridges')
-rw-r--r--bridges/test/testclient.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/bridges/test/testclient.java b/bridges/test/testclient.java
index 217fe962caa7..402485ccf8bf 100644
--- a/bridges/test/testclient.java
+++ b/bridges/test/testclient.java
@@ -69,9 +69,8 @@ class MyCallMe implements XCallMe
public void callOneway( /*IN*/String s, /*IN*/int nToDo ) throws com.sun.star.uno.RuntimeException
{
System.out.println( "entering callOneway" );
-// this.wait( 5 );
try {
- Thread.currentThread().sleep( 4000 );
+ Thread.sleep( 4000 );
}
catch ( java.lang.Exception e )
{
@@ -125,12 +124,8 @@ public class testclient
new Object[]{"iiop", xConnection, new MyInstanceProvider()});
System.out.println( "after building bridge" );
-// Object rInitialObject = m_bridge.mapInterfaceFrom(rootOid, XInterface.class);
-// XTestFactory rFactory =
-// UnoRuntime.queryInterface(XTestFactory.class,rInitialObject );
-// XCallMe callMerFactory->
- Thread.currentThread().sleep( 100000 );
+ Thread.sleep( 100000 );
}
}
catch( com.sun.star.uno.Exception e)