You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2020/09/16 18:53:23 UTC

[commons-fileupload] branch master updated: Fix typos

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e5ec3c  Fix typos
9e5ec3c is described below

commit 9e5ec3c6e880a3dba643e2888ae09460599fd3cb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 16 17:49:20 2020 +0100

    Fix typos
---
 src/main/java/org/apache/commons/fileupload2/FileItem.java         | 2 +-
 src/main/java/org/apache/commons/fileupload2/FileItemIterator.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/fileupload2/FileItem.java b/src/main/java/org/apache/commons/fileupload2/FileItem.java
index 0a888b8..edd0bc0 100644
--- a/src/main/java/org/apache/commons/fileupload2/FileItem.java
+++ b/src/main/java/org/apache/commons/fileupload2/FileItem.java
@@ -195,7 +195,7 @@ public interface FileItem extends FileItemHeadersSupport {
      * be used for storing the contents of the file.
      *
      * @return An {@link java.io.OutputStream OutputStream} that can be used
-     *         for storing the contensts of the file.
+     *         for storing the contents of the file.
      *
      * @throws IOException if an error occurs.
      */
diff --git a/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java b/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java
index 5ec0617..462f7dc 100644
--- a/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java
+++ b/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java
@@ -52,7 +52,7 @@ public interface FileItemIterator {
 	 * By default, this value will be copied from the {@link FileUploadBase#getSizeMax()
 	 * FileUploadBase} object, however, the user may replace the default value with a
 	 * request specific value by invoking {@link #setSizeMax(long)} on this object.
-	 * @return The maximum size of the complete HTTP requqest. The value -1 indicates "unlimited".
+	 * @return The maximum size of the complete HTTP request. The value -1 indicates "unlimited".
 	 */
 	public long getSizeMax();