mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-01 13:24:30 +01:00
Refactor output writers
This commit is contained in:
@@ -17,9 +17,9 @@ public class JsonReceiveMessageHandler implements Manager.ReceiveMessageHandler
|
||||
protected final Manager m;
|
||||
private final JsonWriter jsonWriter;
|
||||
|
||||
public JsonReceiveMessageHandler(Manager m) {
|
||||
public JsonReceiveMessageHandler(Manager m, JsonWriter jsonWriter) {
|
||||
this.m = m;
|
||||
jsonWriter = new JsonWriter(System.out);
|
||||
this.jsonWriter = jsonWriter;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user