mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
StringBuffer->StringBuilder
This commit is contained in:
parent
6c43615d10
commit
69bcea9658
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue