Hi Robert,

> > public final class StringBuilder
> > +  extends AbstractStringBuffer
> StringBuffer and StringBuilder have Object as their superclass. I think
> we are not allowed to break that. If so you should change your
> implementation to follow a delegation pattern and make as many methods
> 'final' as possible. :)

That doesn't matter as long as the superclass isn't public. JavaDoc
should document it as extends Object in this case. IIRC, OpenJDK also
implements this via an abstract superclass.

/Roman

-- 
http://kennke.org/blog/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to