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 a9c5067b5892139559234ff27ed63c10cb48b511
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Oct 11 09:19:55 2023 -0400

    Invoke proper Builder
---
 .../commons/io/input/UnsynchronizedBufferedInputStreamTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 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 e85287a8..bcbf5ff9 100644
--- 
a/src/test/java/org/apache/commons/io/input/UnsynchronizedBufferedInputStreamTest.java
+++ 
b/src/test/java/org/apache/commons/io/input/UnsynchronizedBufferedInputStreamTest.java
@@ -189,8 +189,8 @@ public class UnsynchronizedBufferedInputStreamTest {
         // is.read should now throw an exception because it will have to be 
filled.
         assertThrows(IOException.class, () -> is.read());
 
-        assertThrows(NullPointerException.class, () -> 
UnsynchronizedBufferedInputStream.builder().setInputStream(null).setBufferSize(100).get());
-        assertThrows(NullPointerException.class, () -> 
UnsynchronizedBufferedInputStream.builder().setInputStream(null));
+        assertThrows(NullPointerException.class, () -> new 
UnsynchronizedBufferedInputStream.Builder().setInputStream(null).setBufferSize(100).get());
+        assertThrows(NullPointerException.class, () -> new 
UnsynchronizedBufferedInputStream.Builder().setInputStream(null));
     }
 
     /**

Reply via email to