Selaa lähdekoodia

Merge pull request #454 from csmith/master

Remove unused methods/fields.
pull/455/head
Greg Holmes 8 vuotta sitten
vanhempi
commit
6b6b9e3f1c

+ 0
- 5
debug/src/com/dmdirc/addons/debug/DebugCommand.java Näytä tiedosto

@@ -32,13 +32,8 @@ import javax.inject.Provider;
32 32
 /**
33 33
  * Debug command, serves as a proxy between debug commands and normal commands.
34 34
  */
35
-@SuppressWarnings("unused")
36 35
 public abstract class DebugCommand {
37 36
 
38
-    /** The format name used for command output. */
39
-    public static final String FORMAT_OUTPUT = "commandOutput";
40
-    /** The format name used for command errors. */
41
-    public static final String FORMAT_ERROR = "commandError";
42 37
     /** Parent debug command. */
43 38
     private final Provider<Debug> commandProvider;
44 39
 

+ 0
- 7
redirect/src/com/dmdirc/addons/redirect/FakeWriteableFrameContainer.java Näytä tiedosto

@@ -27,7 +27,6 @@ import com.dmdirc.FrameContainer;
27 27
 import com.dmdirc.interfaces.Connection;
28 28
 import com.dmdirc.interfaces.WindowModel;
29 29
 import com.dmdirc.ui.messages.BackBufferFactory;
30
-import com.dmdirc.ui.messages.Formatter;
31 30
 
32 31
 import java.util.Collections;
33 32
 import java.util.Optional;
@@ -60,12 +59,6 @@ public class FakeWriteableFrameContainer extends FrameContainer {
60 59
         target.sendLine(line);
61 60
     }
62 61
 
63
-    @Override
64
-    @Deprecated
65
-    public void addLine(final String type, final Object... args) {
66
-        sendLine(Formatter.formatMessage(getConfigManager(), type, args));
67
-    }
68
-
69 62
     @Override
70 63
     public int getMaxLineLength() {
71 64
         return target.getMaxLineLength();

Loading…
Peruuta
Tallenna