src/org/sonews/daemon/command/UnsupportedCommand.java
changeset 58 b2df305a13ce
parent 35 ed84c8bdd87b
     1.1 --- a/src/org/sonews/daemon/command/UnsupportedCommand.java	Sun Aug 29 17:28:58 2010 +0200
     1.2 +++ b/src/org/sonews/daemon/command/UnsupportedCommand.java	Tue Sep 13 23:34:16 2011 +0200
     1.3 @@ -29,39 +29,38 @@
     1.4   */
     1.5  public class UnsupportedCommand implements Command
     1.6  {
     1.7 -  
     1.8 -  /**
     1.9 -   * @return Always returns null.
    1.10 -   */
    1.11 -  @Override
    1.12 -  public String[] getSupportedCommandStrings()
    1.13 -  {
    1.14 -    return null;
    1.15 -  }
    1.16  
    1.17 -  @Override
    1.18 -  public boolean hasFinished()
    1.19 -  {
    1.20 -    return true;
    1.21 -  }
    1.22 +	/**
    1.23 +	 * @return Always returns null.
    1.24 +	 */
    1.25 +	@Override
    1.26 +	public String[] getSupportedCommandStrings()
    1.27 +	{
    1.28 +		return null;
    1.29 +	}
    1.30  
    1.31 -  @Override
    1.32 -  public String impliedCapability()
    1.33 -  {
    1.34 -    return null;
    1.35 -  }
    1.36 +	@Override
    1.37 +	public boolean hasFinished()
    1.38 +	{
    1.39 +		return true;
    1.40 +	}
    1.41  
    1.42 -  @Override
    1.43 -  public boolean isStateful()
    1.44 -  {
    1.45 -    return false;
    1.46 -  }
    1.47 +	@Override
    1.48 +	public String impliedCapability()
    1.49 +	{
    1.50 +		return null;
    1.51 +	}
    1.52  
    1.53 -  @Override
    1.54 -  public void processLine(NNTPConnection conn, final String line, byte[] raw)
    1.55 -    throws IOException
    1.56 -  {
    1.57 -    conn.println("500 command not supported");
    1.58 -  }
    1.59 -  
    1.60 +	@Override
    1.61 +	public boolean isStateful()
    1.62 +	{
    1.63 +		return false;
    1.64 +	}
    1.65 +
    1.66 +	@Override
    1.67 +	public void processLine(NNTPConnection conn, final String line, byte[] raw)
    1.68 +		throws IOException
    1.69 +	{
    1.70 +		conn.println("500 command not supported");
    1.71 +	}
    1.72  }