summaryrefslogtreecommitdiff
path: root/java/test/Ice/dispatcher/TestI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/dispatcher/TestI.java')
-rw-r--r--java/test/Ice/dispatcher/TestI.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/test/Ice/dispatcher/TestI.java b/java/test/Ice/dispatcher/TestI.java
index a3e0e717e88..93dd8513ecc 100644
--- a/java/test/Ice/dispatcher/TestI.java
+++ b/java/test/Ice/dispatcher/TestI.java
@@ -27,30 +27,35 @@ public class TestI extends _TestIntfDisp
_dispatcher = dispatcher;
}
+ @Override
public void
op(Ice.Current current)
{
test(_dispatcher.isDispatcherThread());
}
+ @Override
public void
sleep(int to, Ice.Current current)
{
try
{
- Thread.currentThread().sleep(to);
+ Thread.currentThread();
+ Thread.sleep(to);
}
catch(InterruptedException ex)
{
}
}
+ @Override
public void
opWithPayload(byte[] seq, Ice.Current current)
{
test(_dispatcher.isDispatcherThread());
}
+ @Override
public void
shutdown(Ice.Current current)
{