1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Add semicolon after function prototype.

This commit is contained in:
Oleg Krasilnikov 2008-05-30 10:59:42 +00:00
parent 0fcdd959b4
commit 1b0953a434

View file

@ -89,7 +89,7 @@ public class FunctionPrototypeSummary implements IFunctionSummary.IFunctionProto
}
public String getPrototypeString(boolean namefirst, boolean appendReturnType) {
StringBuffer buffer = new StringBuffer();
StringBuilder buffer = new StringBuilder();
if((!namefirst) && (appendReturnType)) {
buffer.append(getReturnType());
buffer.append(" "); //$NON-NLS-1$
@ -104,6 +104,7 @@ public class FunctionPrototypeSummary implements IFunctionSummary.IFunctionProto
buffer.append(" "); //$NON-NLS-1$
buffer.append(getReturnType());
}
buffer.append(";"); //$NON-NLS-1$
return buffer.toString();
}
}