1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

A minor performance optimization.

This commit is contained in:
Sergey Prigogin 2015-05-07 17:48:18 -07:00
parent ef75f97a97
commit 909122f9e3

View file

@ -159,6 +159,8 @@ public class ASTTypeUtil {
* @since 5.1
*/
public static String getArgumentListString(ICPPTemplateArgument[] args, boolean normalize) {
if (args.length == 0)
return "<>"; //$NON-NLS-1$
StringBuilder result= new StringBuilder();
appendArgumentList(args, normalize, result);
return result.toString();