Mime4j is still unstable so I think this should not be a problem. With 0.6 we (Robert and I mainly) decided that it is okay to break an existing API as long as it is broken thoroughly (causes a compile error). Not sure what the policy should be for 0.7 though.
Of course we can deprecate the method if you prefer. Markus On Mon, Aug 17, 2009 at 3:57 PM, Norman Maurer<[email protected]> wrote: > I'm not sure this is a good idea .. How about adding a �...@deprecated > annotation and remove it later.. > > Bye, > Norman > > 2009/8/17 <[email protected]>: >> 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); >> } >> >> /** >> >> >> > -- Always remember you're unique. Just like everyone else.
