summaryrefslogtreecommitdiff
path: root/java/demo/Ice/async/WorkQueue.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-08-14 10:37:16 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-08-14 10:37:16 -0230
commit13c8da45cf4c892a17bda4f224a832bafd8e1bf4 (patch)
treed251dc62af721096338ac5be0ecbeaa825ce0e9e /java/demo/Ice/async/WorkQueue.java
parentMore fixes to the interrupt test. (diff)
downloadice-13c8da45cf4c892a17bda4f224a832bafd8e1bf4.tar.bz2
ice-13c8da45cf4c892a17bda4f224a832bafd8e1bf4.tar.xz
ice-13c8da45cf4c892a17bda4f224a832bafd8e1bf4.zip
- Cleaned up all demos.
- Fixed all demo warnings. - Fixed applet and swing demo to use invocation timeout, not connect timeouts.
Diffstat (limited to 'java/demo/Ice/async/WorkQueue.java')
-rw-r--r--java/demo/Ice/async/WorkQueue.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/demo/Ice/async/WorkQueue.java b/java/demo/Ice/async/WorkQueue.java
index b3181ac1252..98e3eb43603 100644
--- a/java/demo/Ice/async/WorkQueue.java
+++ b/java/demo/Ice/async/WorkQueue.java
@@ -17,6 +17,7 @@ public class WorkQueue extends Thread
int delay;
}
+ @Override
public synchronized void
run()
{
@@ -38,7 +39,7 @@ public class WorkQueue extends Thread
//
// Get next work item.
//
- CallbackEntry entry = (CallbackEntry)_callbacks.getFirst();
+ CallbackEntry entry = _callbacks.getFirst();
//
// Wait for the amount of time indicated in delay to