src/org/sonews/daemon/command/QuitCommand.java
changeset 120 bb1c8a7b774c
parent 35 ed84c8bdd87b
     1.1 --- a/src/org/sonews/daemon/command/QuitCommand.java	Sun Aug 29 17:28:58 2010 +0200
     1.2 +++ b/src/org/sonews/daemon/command/QuitCommand.java	Wed Dec 31 12:07:40 2014 +0100
     1.3 @@ -30,38 +30,37 @@
     1.4  public class QuitCommand implements Command
     1.5  {
     1.6  
     1.7 -  @Override
     1.8 -  public String[] getSupportedCommandStrings()
     1.9 -  {
    1.10 -    return new String[]{"QUIT"};
    1.11 -  }
    1.12 -  
    1.13 -  @Override
    1.14 -  public boolean hasFinished()
    1.15 -  {
    1.16 -    return true;
    1.17 -  }
    1.18 +	@Override
    1.19 +	public String[] getSupportedCommandStrings()
    1.20 +	{
    1.21 +		return new String[] {"QUIT"};
    1.22 +	}
    1.23  
    1.24 -  @Override
    1.25 -  public String impliedCapability()
    1.26 -  {
    1.27 -    return null;
    1.28 -  }
    1.29 +	@Override
    1.30 +	public boolean hasFinished()
    1.31 +	{
    1.32 +		return true;
    1.33 +	}
    1.34  
    1.35 -  @Override
    1.36 -  public boolean isStateful()
    1.37 -  {
    1.38 -    return false;
    1.39 -  }
    1.40 +	@Override
    1.41 +	public String impliedCapability()
    1.42 +	{
    1.43 +		return null;
    1.44 +	}
    1.45  
    1.46 -  @Override
    1.47 -  public void processLine(NNTPConnection conn, final String line, byte[] raw)
    1.48 -    throws IOException, StorageBackendException
    1.49 -  {    
    1.50 -    conn.println("205 cya");
    1.51 -    
    1.52 -    conn.shutdownInput();
    1.53 -    conn.shutdownOutput();
    1.54 -  }
    1.55 +	@Override
    1.56 +	public boolean isStateful()
    1.57 +	{
    1.58 +		return false;
    1.59 +	}
    1.60  
    1.61 +	@Override
    1.62 +	public void processLine(NNTPConnection conn, final String line, byte[] raw)
    1.63 +		throws IOException, StorageBackendException
    1.64 +	{
    1.65 +		conn.println("205 cya");
    1.66 +
    1.67 +		conn.shutdownInput();
    1.68 +		conn.shutdownOutput();
    1.69 +	}
    1.70  }