Narrow return type in unit test utility

This commit is contained in:
Mike Hearn 2014-09-21 18:01:49 +02:00
parent 9c355f01e6
commit 753e0571e9

View File

@ -232,7 +232,7 @@ public class TestWithNetworkConnections {
return p1.nextMessage();
}
protected Object waitForOutbound(InboundMessageQueuer ch) throws InterruptedException {
protected Message waitForOutbound(InboundMessageQueuer ch) throws InterruptedException {
return ch.nextMessageBlocking();
}