mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
A minor performance optimization.
This commit is contained in:
parent
ef75f97a97
commit
909122f9e3
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,8 @@ public class ASTTypeUtil {
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
*/
|
*/
|
||||||
public static String getArgumentListString(ICPPTemplateArgument[] args, boolean normalize) {
|
public static String getArgumentListString(ICPPTemplateArgument[] args, boolean normalize) {
|
||||||
|
if (args.length == 0)
|
||||||
|
return "<>"; //$NON-NLS-1$
|
||||||
StringBuilder result= new StringBuilder();
|
StringBuilder result= new StringBuilder();
|
||||||
appendArgumentList(args, normalize, result);
|
appendArgumentList(args, normalize, result);
|
||||||
return result.toString();
|
return result.toString();
|
||||||
|
|
Loading…
Add table
Reference in a new issue