diff -r ed84c8bdd87b -r b78e77619152 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 Sun Sep 11 15:05:04 2011 +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"); + } + } }