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 2024/12/13 13:04:59 UTC

(commons-io) branch master updated (daf770ae1 -> 4aabd6816)

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

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


    from daf770ae1 Bump github/codeql-action from 3.27.6 to 3.27.9 (#707)
     new 1c84539e0 Sort members
     new 4aabd6816 Javadoc

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/commons/io/output/AbstractByteArrayOutputStream.java   | 2 +-
 .../java/org/apache/commons/io/output/ProxyOutputStreamTest.java  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)


(commons-io) 01/02: Sort members

Posted by gg...@apache.org.
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-io.git

commit 1c84539e0c2ebd85cdc6dce831573f768508a83c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 13 08:03:58 2024 -0500

    Sort members
---
 .../java/org/apache/commons/io/output/ProxyOutputStreamTest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java
index d5c86c67f..5f46a98a8 100644
--- a/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/output/ProxyOutputStreamTest.java
@@ -32,24 +32,24 @@ import org.junit.jupiter.api.Test;
  */
 public class ProxyOutputStreamTest {
 
-    private final AtomicBoolean hit = new AtomicBoolean();
-
     private ByteArrayOutputStream original;
 
     private OutputStream proxied;
 
+    private final AtomicBoolean hit = new AtomicBoolean();
+
     @BeforeEach
     public void setUp() {
         original = new ByteArrayOutputStream() {
 
             @Override
-            public void write(final byte[] ba) {
+            public synchronized void write(final int ba) {
                 hit.set(true);
                 super.write(ba);
             }
 
             @Override
-            public synchronized void write(final int ba) {
+            public void write(final byte[] ba) {
                 hit.set(true);
                 super.write(ba);
             }


(commons-io) 02/02: Javadoc

Posted by gg...@apache.org.
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-io.git

commit 4aabd68164ce766d2d2ea918791b59a0930c14c1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 13 08:04:54 2024 -0500

    Javadoc
---
 .../org/apache/commons/io/output/AbstractByteArrayOutputStream.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/output/AbstractByteArrayOutputStream.java b/src/main/java/org/apache/commons/io/output/AbstractByteArrayOutputStream.java
index 30e259c28..312a644c5 100644
--- a/src/main/java/org/apache/commons/io/output/AbstractByteArrayOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/AbstractByteArrayOutputStream.java
@@ -107,7 +107,7 @@ public abstract class AbstractByteArrayOutputStream<T extends AbstractByteArrayO
         // empty
     }
 
-    /*
+    /**
      * Returns this instance typed to {@code T}.
      *
      * @return this instance