james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: svn commit: r804984 - /james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/codec/DecoderUtil.java
Date Mon, 17 Aug 2009 13:57:44 GMT
I'm not sure this is a good idea .. How about adding a  @deprecated
annotation and remove it later..

Bye,
Norman

2009/8/17  <mwiederkehr@apache.org>:
> Author: mwiederkehr
> Date: Mon Aug 17 13:49:38 2009
> New Revision: 804984
>
> URL: http://svn.apache.org/viewvc?rev=804984&view=rev
> Log:
> renamed decodeBaseQuotedPrintable() in decodeQuotedPrintable()
>
> Modified:
>    james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/codec/DecoderUtil.java
>
> Modified: james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/codec/DecoderUtil.java
> URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/codec/DecoderUtil.java?rev=804984&r1=804983&r2=804984&view=diff
> ==============================================================================
> --- james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/codec/DecoderUtil.java
(original)
> +++ james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/codec/DecoderUtil.java
Mon Aug 17 13:49:38 2009
> @@ -40,7 +40,7 @@
>      * @param s the string to decode.
>      * @return the decoded bytes.
>      */
> -    public static byte[] decodeBaseQuotedPrintable(String s) {
> +    public static byte[] decodeQuotedPrintable(String s) {
>         ByteArrayOutputStream baos = new ByteArrayOutputStream();
>
>         try {
> @@ -134,7 +134,7 @@
>             }
>         }
>
> -        return new String(decodeBaseQuotedPrintable(sb.toString()), charset);
> +        return new String(decodeQuotedPrintable(sb.toString()), charset);
>     }
>
>     /**
>
>
>

Mime
View raw message