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: Don't publish mutable state outside Crypto code
Date Fri, 24 Jun 2016 13:59:43 GMT
Repository: commons-crypto
Updated Branches:
  refs/heads/master eac8e4d78 -> 7de465601


Don't publish mutable state outside Crypto code

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

Branch: refs/heads/master
Commit: 7de4656014c5bbab973e419a8cd9b7ecba1b8dc2
Parents: eac8e4d
Author: Sebb <sebb@apache.org>
Authored: Fri Jun 24 14:59:40 2016 +0100
Committer: Sebb <sebb@apache.org>
Committed: Fri Jun 24 14:59:40 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/crypto/stream/CryptoInputStream.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/7de46560/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java b/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java
index ad829da..5378e56 100644
--- a/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java
+++ b/src/main/java/org/apache/commons/crypto/stream/CryptoInputStream.java
@@ -76,13 +76,13 @@ public class CryptoInputStream extends InputStream implements
      * Input data buffer. The data starts at inBuffer.position() and ends at to
      * inBuffer.limit().
      */
-    protected ByteBuffer inBuffer;
+    ByteBuffer inBuffer;
 
     /**
      * The decrypted data buffer. The data starts at outBuffer.position() and
      * ends at outBuffer.limit().
      */
-    protected ByteBuffer outBuffer;
+    ByteBuffer outBuffer;
 
     /**
      * Constructs a {@link CryptoInputStream}.


Mime
View raw message