diff src/ch/ethz/ssh2/channel/ServerSessionImpl.java @ 307:071eccdff8ea ganymed

fix java formatting
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:16:58 -0700
parents 91a31873c42a
children
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/channel/ServerSessionImpl.java	Wed Jul 30 12:09:51 2014 -0700
+++ b/src/ch/ethz/ssh2/channel/ServerSessionImpl.java	Wed Jul 30 14:16:58 2014 -0700
@@ -8,54 +8,43 @@
 import ch.ethz.ssh2.ServerSession;
 import ch.ethz.ssh2.ServerSessionCallback;
 
-public class ServerSessionImpl implements ServerSession
-{
-	Channel c;
-	public ServerSessionCallback sscb;
+public class ServerSessionImpl implements ServerSession {
+    Channel c;
+    public ServerSessionCallback sscb;
 
-	public ServerSessionImpl(Channel c)
-	{
-		this.c = c;
-	}
+    public ServerSessionImpl(Channel c) {
+        this.c = c;
+    }
 
-	public int getState()
-	{
-		return c.getState();
-	}
+    public int getState() {
+        return c.getState();
+    }
 
-	public InputStream getStdout()
-	{
-		return c.getStdoutStream();
-	}
+    public InputStream getStdout() {
+        return c.getStdoutStream();
+    }
 
-	public InputStream getStderr()
-	{
-		return c.getStderrStream();
-	}
+    public InputStream getStderr() {
+        return c.getStderrStream();
+    }
 
-	public OutputStream getStdin()
-	{
-		return c.getStdinStream();
-	}
+    public OutputStream getStdin() {
+        return c.getStdinStream();
+    }
 
-	public void close()
-	{
-		try
-		{
-			c.cm.closeChannel(c, "Closed due to server request", true);
-		}
-		catch (IOException ignored)
-		{
-		}
-	}
+    public void close() {
+        try {
+            c.cm.closeChannel(c, "Closed due to server request", true);
+        }
+        catch (IOException ignored) {
+        }
+    }
 
-	public synchronized ServerSessionCallback getServerSessionCallback()
-	{
-		return sscb;
-	}
+    public synchronized ServerSessionCallback getServerSessionCallback() {
+        return sscb;
+    }
 
-	public synchronized void setServerSessionCallback(ServerSessionCallback sscb)
-	{
-		this.sscb = sscb;
-	}
+    public synchronized void setServerSessionCallback(ServerSessionCallback sscb) {
+        this.sscb = sscb;
+    }
 }