1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java Wed Oct 10 18:34:46 2012 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java Wed Oct 10 18:44:21 2012 -0700 1.3 @@ -179,7 +179,7 @@ 1.4 * @param annotationInfoTree the content tree to which the documentation will be added 1.5 */ 1.6 public void buildAnnotationTypeSignature(XMLNode node, Content annotationInfoTree) { 1.7 - StringBuffer modifiers = new StringBuffer( 1.8 + StringBuilder modifiers = new StringBuilder( 1.9 annotationTypeDoc.modifiers() + " "); 1.10 writer.addAnnotationTypeSignature(Util.replaceText( 1.11 modifiers.toString(), "interface", "@interface"), annotationInfoTree);