You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2013/03/18 21:26:15 UTC

svn commit: r1457973 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java

Author: simonetripodi
Date: Mon Mar 18 20:26:15 2013
New Revision: 1457973

URL: http://svn.apache.org/r1457973
Log:
added missing javadoc comment to justify the UnsupportedEncodingException

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java?rev=1457973&r1=1457972&r2=1457973&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java (original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java Mon Mar 18 20:26:15 2013
@@ -74,7 +74,7 @@ public final class MimeUtility {
      * @param text   The text to decode.
      *
      * @return The decoded test string.
-     * @throws UnsupportedEncodingException
+     * @throws UnsupportedEncodingException if the detected encoding in the input text is not supported.
      */
     public static String decodeText(String text) throws UnsupportedEncodingException {
         // if the text contains any encoded tokens, those tokens will be marked with "=?".  If the