]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/ListDevicesCommand.java
Add PlainTextWriter interface
[signal-cli] / src / main / java / org / asamk / signal / commands / ListDevicesCommand.java
index c0873c15a1e90c7875abc05a78cd4f4373b5511f..cb2019e24c02b68aa18833c76c5c0ac4a843d3a9 100644 (file)
@@ -4,7 +4,7 @@ import net.sourceforge.argparse4j.inf.Namespace;
 import net.sourceforge.argparse4j.inf.Subparser;
 
 import org.asamk.signal.OutputWriter;
-import org.asamk.signal.PlainTextWriterImpl;
+import org.asamk.signal.PlainTextWriter;
 import org.asamk.signal.commands.exceptions.CommandException;
 import org.asamk.signal.commands.exceptions.IOErrorException;
 import org.asamk.signal.manager.Manager;
@@ -31,7 +31,7 @@ public class ListDevicesCommand implements LocalCommand {
 
     @Override
     public void handleCommand(final Namespace ns, final Manager m) throws CommandException {
-        final var writer = (PlainTextWriterImpl) outputWriter;
+        final var writer = (PlainTextWriter) outputWriter;
 
         List<Device> devices;
         try {