commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject commons-crypto git commit: CRYPTO-86: fix checkstyle
Date Fri, 24 Jun 2016 05:53:00 GMT
Repository: commons-crypto
Updated Branches:
  refs/heads/master 169c76e9f -> 4d51ff11f


CRYPTO-86: fix checkstyle


Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/4d51ff11
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/4d51ff11
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/4d51ff11

Branch: refs/heads/master
Commit: 4d51ff11f0490c892d6f5a6d44acd0eb9817467c
Parents: 169c76e
Author: Sun Dapeng <sdp@apache.org>
Authored: Fri Jun 24 13:33:08 2016 +0800
Committer: Sun Dapeng <sdp@apache.org>
Committed: Fri Jun 24 13:45:27 2016 +0800

----------------------------------------------------------------------
 src/main/java/org/apache/commons/crypto/cipher/OpensslCipher.java | 3 ++-
 .../apache/commons/crypto/stream/PositionedCryptoInputStream.java | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/4d51ff11/src/main/java/org/apache/commons/crypto/cipher/OpensslCipher.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/cipher/OpensslCipher.java b/src/main/java/org/apache/commons/crypto/cipher/OpensslCipher.java
index a39e769..4d01712 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/OpensslCipher.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/OpensslCipher.java
@@ -46,7 +46,8 @@ public class OpensslCipher implements CryptoCipher {
      * @param transformation transformation for OpenSSL cipher
      * @throws GeneralSecurityException if OpenSSL cipher initialize failed
      */
-    public OpensslCipher(Properties props, CipherTransformation transformation)
+    public OpensslCipher(Properties props, CipherTransformation  // NOPMD
+        transformation)
             throws GeneralSecurityException {
         this.transformation = transformation;
 

http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/4d51ff11/src/main/java/org/apache/commons/crypto/stream/PositionedCryptoInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/stream/PositionedCryptoInputStream.java
b/src/main/java/org/apache/commons/crypto/stream/PositionedCryptoInputStream.java
index 6ea3805..9a1d7bb 100644
--- a/src/main/java/org/apache/commons/crypto/stream/PositionedCryptoInputStream.java
+++ b/src/main/java/org/apache/commons/crypto/stream/PositionedCryptoInputStream.java
@@ -80,6 +80,7 @@ public class PositionedCryptoInputStream extends CTRCryptoInputStream {
     /**
      * Constructs a {@link PositionedCryptoInputStream}.
      *
+     * @param props the props of stream
      * @param input the input data.
      * @param cipher the CryptoCipher instance.
      * @param bufferSize the bufferSize.


Mime
View raw message