diff --git a/wash/src/actor/ActorThread.java b/wash/src/actor/ActorThread.java index bb231a2..18683bb 100644 --- a/wash/src/actor/ActorThread.java +++ b/wash/src/actor/ActorThread.java @@ -25,12 +25,12 @@ public abstract class ActorThread extends Thread { * milliseconds if none available. Returns null if no message is obtained * within 'timeout' milliseconds. */ - @Deprecated protected M receiveWithTimeout(long timeout) throws InterruptedException { return q.poll(timeout, TimeUnit.MILLISECONDS); } /** Wait for a message continuously */ + @Deprecated protected M take() throws InterruptedException { return q.take(); }