diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
commit | 2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b (patch) | |
tree | b460e22e91a9fbb9cfb71631303963fa94dd2c9c /java/test/Ice/dispatcher/TestI.java | |
parent | ICE-5492 Tcp Loopback Fast Path for C#/C++ on Windows (diff) | |
download | ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.bz2 ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.xz ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.zip |
Added eclipse project settings for java.
Fix lots of warnings in Ice for Java.
Diffstat (limited to 'java/test/Ice/dispatcher/TestI.java')
-rw-r--r-- | java/test/Ice/dispatcher/TestI.java | 7 |
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) { |