- From: CVS User ylafon <cvsmail@w3.org>
- Date: Wed, 09 Jan 2013 21:53:26 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css21
In directory roscoe:/tmp/cvs-serv1904/css21
Modified Files:
CssVoiceFamily.java
Log Message:
ArrayList -> array
--- /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssVoiceFamily.java 2013/01/09 09:29:07 1.2
+++ /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssVoiceFamily.java 2013/01/09 21:53:26 1.3
@@ -1,4 +1,4 @@
-// $Id: CssVoiceFamily.java,v 1.2 2013/01/09 09:29:07 ylafon Exp $
+// $Id: CssVoiceFamily.java,v 1.3 2013/01/09 21:53:26 ylafon Exp $
// Author: Yves Lafon <ylafon@w3.org>
//
// (c) COPYRIGHT MIT, ERCIM and Keio University, 2013.
@@ -23,14 +23,15 @@
*/
public class CssVoiceFamily extends org.w3c.css.properties.css.CssVoiceFamily {
- public static final ArrayList<CssIdent> genericVoices;
+ public static final CssIdent[] genericVoices;
static {
String[] _genericVoices = {"male", "female", "child"};
- genericVoices = new ArrayList<CssIdent>(_genericVoices.length);
+ genericVoices = new CssIdent[_genericVoices.length];
+ int i = 0;
for (String s : _genericVoices) {
- genericVoices.add(CssIdent.getIdent(s));
+ genericVoices[i++] = CssIdent.getIdent(s);
}
}
Received on Wednesday, 9 January 2013 21:53:27 UTC