You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/12/18 21:10:11 UTC

[commons-fileupload] branch master updated: Remove trailing white spaces on all lines.

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


The following commit(s) were added to refs/heads/master by this push:
     new ee0ea34  Remove trailing white spaces on all lines.
ee0ea34 is described below

commit ee0ea34f94e079e842b81facae078368b6b3cc48
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 18 15:29:59 2019 -0500

    Remove trailing white spaces on all lines.
---
 src/main/java/org/apache/commons/fileupload2/FileItemIterator.java    | 4 ++--
 .../org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java     | 2 +-
 src/test/java/org/apache/commons/fileupload2/DiskFileUploadTest.java  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java b/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java
index 7b39f35..5ec0617 100644
--- a/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java
+++ b/src/main/java/org/apache/commons/fileupload2/FileItemIterator.java
@@ -35,7 +35,7 @@ public interface FileItemIterator {
 	 * @return The maximum size of a single, uploaded file. The value -1 indicates "unlimited".
 	 */
 	public long getFileSizeMax();
-	
+
 	/** Sets the maximum size of a single file. An {@link FileSizeLimitExceededException}
 	 * will be thrown, if there is an uploaded file, which is exceeding this value.
 	 * By default, this value will be copied from the {@link FileUploadBase#getFileSizeMax()
@@ -55,7 +55,7 @@ public interface FileItemIterator {
 	 * @return The maximum size of the complete HTTP requqest. The value -1 indicates "unlimited".
 	 */
 	public long getSizeMax();
-	
+
 	/** Returns the maximum size of the complete HTTP request. A {@link SizeLimitExceededException}
 	 * will be thrown, if the HTTP request will exceed this value.
 	 * By default, this value will be copied from the {@link FileUploadBase#getSizeMax()
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 0fb381b..db64ade 100644
--- a/src/main/java/org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java
+++ b/src/main/java/org/apache/commons/fileupload2/impl/FileItemIteratorImpl.java
@@ -111,7 +111,7 @@ public class FileItemIteratorImpl implements FileItemIterator {
 
     /**
      * Creates a new instance.
-     * 
+     *
      * @param fileUploadBase Main processor.
      * @param requestContext The request context.
      * @throws FileUploadException An error occurred while
diff --git a/src/test/java/org/apache/commons/fileupload2/DiskFileUploadTest.java b/src/test/java/org/apache/commons/fileupload2/DiskFileUploadTest.java
index ad9914b..c0a87a6 100644
--- a/src/test/java/org/apache/commons/fileupload2/DiskFileUploadTest.java
+++ b/src/test/java/org/apache/commons/fileupload2/DiskFileUploadTest.java
@@ -77,7 +77,7 @@ public class DiskFileUploadTest {
     public void testMoveFile() throws Exception {
         DiskFileUpload myUpload = new DiskFileUpload();
         myUpload.setSizeThreshold(0);
-    	final String content = 
+    	final String content =
                 "-----1234\r\n" +
                 "Content-Disposition: form-data; name=\"file\";"
                 		+ "filename=\"foo.tab\"\r\n" +