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


The following commit(s) were added to refs/heads/master by this push:
     new 456f72a  Javadoc.
456f72a is described below

commit 456f72a5453c1719ff931ceb8c8bc319041cbd8d
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jul 10 10:46:44 2021 -0400

    Javadoc.
    
    Sort members.
---
 .../apache/commons/io/input/ProxyReaderTest.java   | 48 +++++++++++-----------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java 
b/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
index f1dac52..fd808c5 100644
--- a/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
+++ b/src/test/java/org/apache/commons/io/input/ProxyReaderTest.java
@@ -23,33 +23,11 @@ import java.nio.CharBuffer;
 import org.junit.jupiter.api.Test;
 
 /**
- * Test {@link ProxyReader}.
+ * Tests {@link ProxyReader}.
  */
 public class ProxyReaderTest {
 
-    @Test
-    public void testNullCharArray() throws Exception {
-        try (final ProxyReader proxy = new ProxyReaderImpl(new 
CustomNullReader(0))) {
-            proxy.read((char[]) null);
-            proxy.read(null, 0, 0);
-        }
-    }
-
-    @Test
-    public void testNullCharBuffer() throws Exception {
-        try (final ProxyReader proxy = new ProxyReaderImpl(new 
CustomNullReader(0))) {
-            proxy.read((CharBuffer) null);
-        }
-    }
-
-    /** ProxyReader implementation */
-    private static class ProxyReaderImpl extends ProxyReader {
-        ProxyReaderImpl(final Reader proxy) {
-            super(proxy);
-        }
-    }
-
-    /** Custom NullReader implementation */
+    /** Custom NullReader implementation. */
     private static class CustomNullReader extends NullReader {
         CustomNullReader(final int len) {
             super(len);
@@ -65,4 +43,26 @@ public class ProxyReaderTest {
             return target == null ? 0 : super.read(target);
         }
     }
+
+    /** ProxyReader implementation. */
+    private static class ProxyReaderImpl extends ProxyReader {
+        ProxyReaderImpl(final Reader proxy) {
+            super(proxy);
+        }
+    }
+
+    @Test
+    public void testNullCharArray() throws Exception {
+        try (final ProxyReader proxy = new ProxyReaderImpl(new 
CustomNullReader(0))) {
+            proxy.read((char[]) null);
+            proxy.read(null, 0, 0);
+        }
+    }
+
+    @Test
+    public void testNullCharBuffer() throws Exception {
+        try (final ProxyReader proxy = new ProxyReaderImpl(new 
CustomNullReader(0))) {
+            proxy.read((CharBuffer) null);
+        }
+    }
 }

Reply via email to