diff src/ch/ethz/ssh2/crypto/cipher/NullCipher.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/crypto/cipher/NullCipher.java	Wed Jul 30 12:09:51 2014 -0700
+++ b/src/ch/ethz/ssh2/crypto/cipher/NullCipher.java	Wed Jul 30 14:16:58 2014 -0700
@@ -6,34 +6,28 @@
 
 /**
  * NullCipher.
- * 
+ *
  * @author Christian Plattner
  * @version 2.50, 03/15/10
  */
-public class NullCipher implements BlockCipher
-{
-	private int blockSize = 8;
-	
-	public NullCipher()
-	{
-	}
+public class NullCipher implements BlockCipher {
+    private int blockSize = 8;
+
+    public NullCipher() {
+    }
+
+    public NullCipher(int blockSize) {
+        this.blockSize = blockSize;
+    }
 
-	public NullCipher(int blockSize)
-	{
-		this.blockSize = blockSize;
-	}
-	
-	public void init(boolean forEncryption, byte[] key)
-	{
-	}
+    public void init(boolean forEncryption, byte[] key) {
+    }
 
-	public int getBlockSize()
-	{
-		return blockSize;
-	}
+    public int getBlockSize() {
+        return blockSize;
+    }
 
-	public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff)
-	{
-		System.arraycopy(src, srcoff, dst, dstoff, blockSize);
-	}
+    public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff) {
+        System.arraycopy(src, srcoff, dst, dstoff, blockSize);
+    }
 }