Browse Source

Merge pull request #454 from csmith/master

Remove unused methods/fields.
pull/455/head
Greg Holmes 8 years ago
parent
commit
6b6b9e3f1c

+ 0
- 5
debug/src/com/dmdirc/addons/debug/DebugCommand.java View File

32
 /**
32
 /**
33
  * Debug command, serves as a proxy between debug commands and normal commands.
33
  * Debug command, serves as a proxy between debug commands and normal commands.
34
  */
34
  */
35
-@SuppressWarnings("unused")
36
 public abstract class DebugCommand {
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
     /** Parent debug command. */
37
     /** Parent debug command. */
43
     private final Provider<Debug> commandProvider;
38
     private final Provider<Debug> commandProvider;
44
 
39
 

+ 0
- 7
redirect/src/com/dmdirc/addons/redirect/FakeWriteableFrameContainer.java View File

27
 import com.dmdirc.interfaces.Connection;
27
 import com.dmdirc.interfaces.Connection;
28
 import com.dmdirc.interfaces.WindowModel;
28
 import com.dmdirc.interfaces.WindowModel;
29
 import com.dmdirc.ui.messages.BackBufferFactory;
29
 import com.dmdirc.ui.messages.BackBufferFactory;
30
-import com.dmdirc.ui.messages.Formatter;
31
 
30
 
32
 import java.util.Collections;
31
 import java.util.Collections;
33
 import java.util.Optional;
32
 import java.util.Optional;
60
         target.sendLine(line);
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
     @Override
62
     @Override
70
     public int getMaxLineLength() {
63
     public int getMaxLineLength() {
71
         return target.getMaxLineLength();
64
         return target.getMaxLineLength();

Loading…
Cancel
Save