You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/11 16:50:47 UTC

[commons-crypto] 01/08: Consistent this usage in ctor

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit 481b802a663095897fabc3eebf6f1dfdf2af1143
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 11 10:55:10 2022 -0500

    Consistent this usage in ctor
---
 src/main/java/org/apache/commons/crypto/stream/input/StreamInput.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/crypto/stream/input/StreamInput.java b/src/main/java/org/apache/commons/crypto/stream/input/StreamInput.java
index 18d468d..94d04ec 100644
--- a/src/main/java/org/apache/commons/crypto/stream/input/StreamInput.java
+++ b/src/main/java/org/apache/commons/crypto/stream/input/StreamInput.java
@@ -41,7 +41,7 @@ public class StreamInput implements Input {
     public StreamInput(final InputStream inputStream, final int bufferSize) {
         this.in = inputStream;
         this.bufferSize = bufferSize;
-        buf = new byte[bufferSize];
+        this.buf = new byte[bufferSize];
     }
 
     /**