mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-28 08:47:29 +00:00
Fix the readInputLoop so that messages are all delivered and processed in the main thread
This commit is contained in:
@@ -32,10 +32,14 @@ public class TestClientOutput implements ClientOutput {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDeamonDispatch(Consumer<Message> daemonDispatch) {
|
||||
public void setDaemonDispatch(Consumer<Message> daemonDispatch) {
|
||||
this.daemonDispatch = daemonDispatch;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDaemonReceive(Consumer<Message> sink) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void accept(Message message) {
|
||||
messages.add(message);
|
||||
|
Reference in New Issue
Block a user