You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/06/24 13:54:20 UTC

commons-crypto git commit: Immutable private field might as well be final

Repository: commons-crypto
Updated Branches:
  refs/heads/master 75895e56c -> eac8e4d78


Immutable private field might as well be final

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

Branch: refs/heads/master
Commit: eac8e4d78df38a09dd4d3a8f0294f35515f2e990
Parents: 75895e5
Author: Sebb <se...@apache.org>
Authored: Fri Jun 24 14:54:17 2016 +0100
Committer: Sebb <se...@apache.org>
Committed: Fri Jun 24 14:54:17 2016 +0100

----------------------------------------------------------------------
 .../org/apache/commons/crypto/stream/output/ChannelOutput.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/eac8e4d7/src/main/java/org/apache/commons/crypto/stream/output/ChannelOutput.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/crypto/stream/output/ChannelOutput.java b/src/main/java/org/apache/commons/crypto/stream/output/ChannelOutput.java
index a28a21e..d8a5373 100644
--- a/src/main/java/org/apache/commons/crypto/stream/output/ChannelOutput.java
+++ b/src/main/java/org/apache/commons/crypto/stream/output/ChannelOutput.java
@@ -28,7 +28,7 @@ import java.nio.channels.WritableByteChannel;
  */
 public class ChannelOutput implements Output {
 
-    private WritableByteChannel channel;
+    private final WritableByteChannel channel;
 
     /**
      * Constructs a