2002/css-validator/org/w3c/css/properties/css3 CssFontFamily.java,1.1,1.2

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv29841/properties/css3

Modified Files:
	CssFontFamily.java 
Log Message:
size of arraylist

Index: CssFontFamily.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssFontFamily.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssFontFamily.java	4 Aug 2012 21:17:06 -0000	1.1
+++ CssFontFamily.java	23 Aug 2012 15:15:29 -0000	1.2
@@ -37,11 +37,11 @@
 	};
 
 	static {
-		genericNames = new ArrayList<CssIdent>();
+		genericNames = new ArrayList<CssIdent>(_genericNames.length);
 		for (String s : _genericNames) {
 			genericNames.add(CssIdent.getIdent(s));
 		}
-		reservedNames = new ArrayList<CssIdent>();
+		reservedNames = new ArrayList<CssIdent>(_reservedNames.length);
 		for (String s : _reservedNames) {
 			reservedNames.add(CssIdent.getIdent(s));
 		}

Received on Thursday, 23 August 2012 15:15:37 UTC