You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jo...@apache.org on 2021/04/24 07:55:32 UTC
[commons-fileupload] branch master updated: FILEUPLOAD-317 - Fix
javadoc: Complete missing javadoc
This is an automated email from the ASF dual-hosted git repository.
jochen 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 1622178 FILEUPLOAD-317 - Fix javadoc: Complete missing javadoc
new a27bfc5 Merge pull request #68 from arturobernalg/feature/FILEUPLOAD-317
1622178 is described below
commit 1622178f71718b81ef18e729682bc2ccd468b838
Author: Arturo Bernal <ar...@gmail.com>
AuthorDate: Fri Apr 23 10:06:42 2021 +0200
FILEUPLOAD-317 - Fix javadoc: Complete missing javadoc
---
.../java/org/apache/commons/fileupload2/util/mime/MimeUtility.java | 4 ++--
.../apache/commons/fileupload2/util/mime/QuotedPrintableDecoder.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/fileupload2/util/mime/MimeUtility.java b/src/main/java/org/apache/commons/fileupload2/util/mime/MimeUtility.java
index af0f06b..8b36aea 100644
--- a/src/main/java/org/apache/commons/fileupload2/util/mime/MimeUtility.java
+++ b/src/main/java/org/apache/commons/fileupload2/util/mime/MimeUtility.java
@@ -193,8 +193,8 @@ public final class MimeUtility {
* @param word The possibly encoded word value.
*
* @return The decoded word.
- * @throws ParseException
- * @throws UnsupportedEncodingException
+ * @throws ParseException in case of a parse error of the RFC 2047
+ * @throws UnsupportedEncodingException Thrown when Invalid RFC 2047 encoding was found
*/
private static String decodeWord(final String word) throws ParseException, UnsupportedEncodingException {
// encoded words start with the characters "=?". If this not an encoded word, we throw a
diff --git a/src/main/java/org/apache/commons/fileupload2/util/mime/QuotedPrintableDecoder.java b/src/main/java/org/apache/commons/fileupload2/util/mime/QuotedPrintableDecoder.java
index 8aac120..34af14d 100644
--- a/src/main/java/org/apache/commons/fileupload2/util/mime/QuotedPrintableDecoder.java
+++ b/src/main/java/org/apache/commons/fileupload2/util/mime/QuotedPrintableDecoder.java
@@ -44,7 +44,7 @@ final class QuotedPrintableDecoder {
* @param out The output stream used to return the decoded data.
*
* @return the number of bytes produced.
- * @throws IOException
+ * @throws IOException if an IO error occurs
*/
public static int decode(final byte[] data, final OutputStream out) throws IOException {
int off = 0;