commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1456804 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/util/mime/MimeUtility.java
Date Fri, 15 Mar 2013 08:47:53 GMT
Author: simonetripodi
Date: Fri Mar 15 08:47:53 2013
New Revision: 1456804

URL: http://svn.apache.org/r1456804
Log:
checkstyle: Expected @throws tag

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=1456804&r1=1456803&r2=1456804&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
Fri Mar 15 08:47:53 2013
@@ -74,7 +74,7 @@ public final class MimeUtility {
      * @param text   The text to decode.
      *
      * @return The decoded test string.
-     * @exception UnsupportedEncodingException
+     * @throws UnsupportedEncodingException
      */
     public static String decodeText(String text) throws UnsupportedEncodingException {
         // if the text contains any encoded tokens, those tokens will be marked with "=?".
 If the
@@ -178,8 +178,8 @@ public final class MimeUtility {
      * @param word   The possibly encoded word value.
      *
      * @return The decoded word.
-     * @exception ParseException
-     * @exception UnsupportedEncodingException
+     * @throws ParseException
+     * @throws UnsupportedEncodingException
      */
     private static String decodeWord(String word) throws ParseException, UnsupportedEncodingException
{
         // encoded words start with the characters "=?".  If this not an encoded word, we
throw a



Mime
View raw message