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 2023/10/21 14:35:14 UTC

[commons-io] 08/09: Sort members

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 cb3b495921619174845979240a6c754261bc8546
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 21 10:34:04 2023 -0400

    Sort members
---
 .../commons/io/input/UnsynchronizedBufferedInputStreamTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/input/UnsynchronizedBufferedInputStreamTest.java b/src/test/java/org/apache/commons/io/input/UnsynchronizedBufferedInputStreamTest.java
index 8ef06c20..d2e969ca 100644
--- a/src/test/java/org/apache/commons/io/input/UnsynchronizedBufferedInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/UnsynchronizedBufferedInputStreamTest.java
@@ -56,6 +56,10 @@ public class UnsynchronizedBufferedInputStreamTest {
 
     byte[] ibuf = new byte[BUFFER_SIZE];
 
+    private Builder builder() {
+        return new UnsynchronizedBufferedInputStream.Builder();
+    }
+
     /**
      * Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
      *
@@ -70,10 +74,6 @@ public class UnsynchronizedBufferedInputStreamTest {
         is = builder().setInputStream(isFile).get();
     }
 
-    private Builder builder() {
-        return new UnsynchronizedBufferedInputStream.Builder();
-    }
-
     /**
      * Tears down the fixture, for example, close a network connection. This method is called after a test is executed.
      *