Author: scabanovich
Date: 2012-09-26 12:52:52 -0400 (Wed, 26 Sep 2012)
New Revision: 44050
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/java/ParametedType.java
Log:
JBIDE-12479
https://issues.jboss.org/browse/JBIDE-12479
Reduce initial size of array that normally has no more than 2 elements.
Modified:
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/java/ParametedType.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/java/ParametedType.java 2012-09-26
15:43:35 UTC (rev 44049)
+++
trunk/common/plugins/org.jboss.tools.common.core/src/org/jboss/tools/common/java/ParametedType.java 2012-09-26
16:52:52 UTC (rev 44050)
@@ -37,7 +37,7 @@
protected IType type;
protected int arrayIndex = 0;
protected String signature;
- protected List<ParametedType> parameterTypes = new
ArrayList<ParametedType>();
+ protected List<ParametedType> parameterTypes = new
ArrayList<ParametedType>(1);
protected boolean primitive;
protected boolean isUpper = false;