garydgregory commented on code in PR #391:
URL: https://github.com/apache/commons-io/pull/391#discussion_r990449493


##########
src/main/java/org/apache/commons/io/input/SequenceReader.java:
##########
@@ -33,19 +36,21 @@ public class SequenceReader extends Reader {
 
     private Reader reader;
     private Iterator<? extends Reader> readers;
+    private Iterable<? extends Reader> readersIterable;
 
     /**
      * Constructs a new instance with readers
      *
      * @param readers the readers to read
      */
     public SequenceReader(final Iterable<? extends Reader> readers) {
-        this.readers = Objects.requireNonNull(readers, "readers").iterator();
+        this.readersIterable = Objects.requireNonNull(readers, "readers");
+        this.readers = readers.iterator();
         this.reader = nextReader();
     }
 
     /**
-     * Constructs a new instance with readers
+     * Construct a new instance with readers

Review Comment:
   Don't change the Javadoc style please.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to