diff -r ed84c8bdd87b -r f5b57e221e38 src/org/sonews/daemon/command/ModeReaderCommand.java --- a/src/org/sonews/daemon/command/ModeReaderCommand.java Sun Aug 29 17:28:58 2010 +0200 +++ b/src/org/sonews/daemon/command/ModeReaderCommand.java Thu Jul 05 13:19:19 2012 +0200 @@ -30,43 +30,39 @@ */ public class ModeReaderCommand implements Command { - - @Override - public String[] getSupportedCommandStrings() - { - return new String[]{"MODE"}; - } - @Override - public boolean hasFinished() - { - return true; - } + @Override + public String[] getSupportedCommandStrings() + { + return new String[] {"MODE"}; + } - @Override - public String impliedCapability() - { - return null; - } + @Override + public boolean hasFinished() + { + return true; + } - @Override - public boolean isStateful() - { - return false; - } + @Override + public String impliedCapability() + { + return null; + } - @Override - public void processLine(NNTPConnection conn, final String line, byte[] raw) - throws IOException, StorageBackendException - { - if(line.equalsIgnoreCase("MODE READER")) - { - conn.println("200 hello you can post"); - } - else - { - conn.println("500 I do not know this mode command"); - } - } + @Override + public boolean isStateful() + { + return false; + } + @Override + public void processLine(NNTPConnection conn, final String line, byte[] raw) + throws IOException, StorageBackendException + { + if (line.equalsIgnoreCase("MODE READER")) { + conn.println("200 hello you can post"); + } else { + conn.println("500 I do not know this mode command"); + } + } }