On Thu, Mar 22, 2012 at 6:06 AM, Stephen Colebourne
<scolebou...@joda.org> wrote:
>> 3/ PeriodPrinter.printTo, DateTimePrinter.printTo
>>
>> Both interfaces define printTo methods that use a StringBuffer as argument.
>> It is be better to use an AbstractStringBuilder now instead.
>
> That would be backwards incompatible.

First, I'd recommend the use of interface CharSequence instead.

Second, I don't see how that would that be backward incompatible.
StringBuilder & StringBuffer both implement CharSequence.  By changing
the signatures to take a CharSequence, you'd be effectively relaxing
the restriction of using StringBuilder and allowing a larger range of
types.  Can you please elaborate?

-matthew

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to