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-fileupload.git

commit f4a8da6bd9cfba71ec5ee4610864456c1323e831
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Apr 2 23:15:34 2023 -0400

    Javadoc and format tweaks
---
 .../org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java 
b/src/main/java/org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java
index c071dde..da77671 100644
--- 
a/src/main/java/org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java
+++ 
b/src/main/java/org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java
@@ -45,22 +45,26 @@ import org.apache.commons.io.IOUtils;
  * The iterator, which is returned by {@link 
FileUploadBase#getItemIterator(RequestContext)}.
  */
 public class FileItemIteratorImpl implements FileItemIterator {
+
     /**
      * The file uploads processing utility.
      *
      * @see FileUploadBase
      */
     private final FileUploadBase fileUploadBase;
+
     /**
      * The request context.
      *
      * @see RequestContext
      */
     private final RequestContext ctx;
+
     /**
      * The maximum allowed size of a complete request.
      */
     private long sizeMax;
+
     /**
      * The maximum allowed size of a single uploaded file.
      */
@@ -107,7 +111,7 @@ public class FileItemIteratorImpl implements 
FileItemIterator {
     private boolean eof;
 
     /**
-     * Creates a new instance.
+     * Constructs a new instance.
      *
      * @param fileUploadBase Main processor.
      * @param requestContext The request context.
@@ -229,7 +233,7 @@ public class FileItemIteratorImpl implements 
FileItemIterator {
     }
 
     /**
-     * Returns, whether another instance of {@link FileItemStream} is 
available.
+     * Tests whether another instance of {@link FileItemStream} is available.
      *
      * @throws FileUploadException Parsing or processing the file item failed.
      * @throws IOException         Reading the file item failed.

Reply via email to