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 ce5ce15  Remove trailing whitepsace.
ce5ce15 is described below

commit ce5ce15633d4be9756dc93a2d2a450917e014d7d
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Feb 15 11:14:54 2021 -0500

    Remove trailing whitepsace.
---
 .../org/apache/commons/fileupload2/jaksrvlt/package-info.java  |  2 +-
 .../apache/commons/fileupload2/util/mime/RFC2231Utility.java   | 10 +++++-----
 .../commons/fileupload2/util/mime/RFC2231UtilityTestCase.java  |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/fileupload2/jaksrvlt/package-info.java 
b/src/main/java/org/apache/commons/fileupload2/jaksrvlt/package-info.java
index 82f5df5..1c19bf2 100644
--- a/src/main/java/org/apache/commons/fileupload2/jaksrvlt/package-info.java
+++ b/src/main/java/org/apache/commons/fileupload2/jaksrvlt/package-info.java
@@ -20,7 +20,7 @@
  *      An implementation of
  *      {@link org.apache.commons.fileupload2.FileUpload FileUpload}
  *      for use in servlets conforming to the namespace {@code 
jakarta.servlet}.
- *      
+ *
  *    </p>
  *    <p>
  *      The following code fragment demonstrates typical usage.
diff --git 
a/src/main/java/org/apache/commons/fileupload2/util/mime/RFC2231Utility.java 
b/src/main/java/org/apache/commons/fileupload2/util/mime/RFC2231Utility.java
index 82335f1..ee0e13c 100644
--- a/src/main/java/org/apache/commons/fileupload2/util/mime/RFC2231Utility.java
+++ b/src/main/java/org/apache/commons/fileupload2/util/mime/RFC2231Utility.java
@@ -21,10 +21,10 @@ import java.io.UnsupportedEncodingException;
 /**
  * Utility class to decode/encode character set on HTTP Header fields based on 
RFC 2231.
  * This implementation adheres to RFC 5987 in particular, which was defined 
for HTTP headers
- * 
+ *
  * RFC 5987 builds on RFC 2231, but has lesser scope like <a 
href="https://tools.ietf.org/html/rfc5987#section-3.2";>mandatory charset 
definition</a>
  * and <a href="https://tools.ietf.org/html/rfc5987#section-4";>no parameter 
continuation</a>
- * 
+ *
  * <p>
  * @see <a href="https://tools.ietf.org/html/rfc2231";>RFC 2231</a>
  * @see <a href="https://tools.ietf.org/html/rfc5987";>RFC 5987</a>
@@ -57,7 +57,7 @@ public final class RFC2231Utility {
     }
 
     /**
-     * If {@code paramName} has Asterisk (*) at the end, it will be stripped 
off, 
+     * If {@code paramName} has Asterisk (*) at the end, it will be stripped 
off,
      * else the passed value will be returned
      * @param paramName The parameter, which is being inspected.
      * @return stripped {@code paramName} of Asterisk (*), if RFC2231 encoded
@@ -73,7 +73,7 @@ public final class RFC2231Utility {
 
     /**
      * Decode a string of text obtained from a HTTP header as per RFC 2231
-     * 
+     *
      * <b>Eg 1.</b> {@code us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A}
      * will be decoded to {@code This is ***fun***}
      *
@@ -82,7 +82,7 @@ public final class RFC2231Utility {
      *
      * <b>Eg 3.</b> {@code UTF-8''%c2%a3%20and%20%e2%82%ac%20rates}
      * will be decoded to {@code £ and € rates}.
-     * 
+     *
      * @param encodedText - Text to be decoded has a format of {@code 
<charset>'<language>'<encoded_value>} and ASCII only
      * @return Decoded text based on charset encoding
      * @throws UnsupportedEncodingException The requested character set wasn't 
found.
diff --git 
a/src/test/java/org/apache/commons/fileupload2/util/mime/RFC2231UtilityTestCase.java
 
b/src/test/java/org/apache/commons/fileupload2/util/mime/RFC2231UtilityTestCase.java
index 9a4d804..bc55db3 100644
--- 
a/src/test/java/org/apache/commons/fileupload2/util/mime/RFC2231UtilityTestCase.java
+++ 
b/src/test/java/org/apache/commons/fileupload2/util/mime/RFC2231UtilityTestCase.java
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
 
 /**
  * The expected characters are encoded in UTF16, while the actual characters 
may be encoded in UTF-8/ISO-8859-1
- * 
+ *
  * RFC 5987 recommends to support both UTF-8 & ISO 8859-1. Test values are 
taken from https://tools.ietf.org/html/rfc5987#section-3.2.2
  */
 public final class RFC2231UtilityTestCase {

Reply via email to