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:
parent
ef75f97a97
commit
909122f9e3
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue