On 15 March 2013 08:47,  <simonetrip...@apache.org> wrote:
> 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

Under what conditions is the exception thrown?
Needs documenting.
>       */
>      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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to