git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197089 13f79535-47bb-0310-9956-ffa450edef68tags/Alt-Design_pre_awt_renderer_import
@@ -790,7 +790,8 @@ public class PropNames { | |||
*/ | |||
private static final HashMap toIndex; | |||
static { | |||
toIndex = new HashMap(LAST_PROPERTY_INDEX + 1); | |||
toIndex = new HashMap( | |||
(int)((LAST_PROPERTY_INDEX + 1) / 0.75) + 1); | |||
// Set up the toIndex Hashmap with the name of the | |||
// property as a key, and the integer index as a value | |||
for (int i = 0; i <= LAST_PROPERTY_INDEX; i++) { |