1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

StringBuffer->StringBuilder

This commit is contained in:
Andrew Ferguson 2008-03-13 15:33:04 +00:00
parent 6c43615d10
commit 69bcea9658

View file

@ -82,8 +82,8 @@ public class DoxygenMultilineAutoEditStrategy extends DefaultMultilineCommentAut
* @return a buffer containing the comment content to generate to describe the parameters of * @return a buffer containing the comment content to generate to describe the parameters of
* the specified {@link IASTParameterDeclaration} objects. * the specified {@link IASTParameterDeclaration} objects.
*/ */
protected StringBuffer documentFunctionParameters(IASTParameterDeclaration[] decls) { protected StringBuilder documentFunctionParameters(IASTParameterDeclaration[] decls) {
StringBuffer result= new StringBuffer(); StringBuilder result= new StringBuilder();
for(int i=0; i<decls.length; i++) { for(int i=0; i<decls.length; i++) {
IASTDeclarator dtor= decls[i].getDeclarator(); IASTDeclarator dtor= decls[i].getDeclarator();
result.append(PARAM+dtor.getName()+"\n"); //$NON-NLS-1$ result.append(PARAM+dtor.getName()+"\n"); //$NON-NLS-1$
@ -94,8 +94,8 @@ public class DoxygenMultilineAutoEditStrategy extends DefaultMultilineCommentAut
/** /**
* @return the comment content to describe the return * @return the comment content to describe the return
*/ */
protected StringBuffer documentFunctionReturn() { protected StringBuilder documentFunctionReturn() {
return new StringBuffer(RETURN); return new StringBuilder(RETURN);
} }
/** /**