- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 29 Aug 2011 07:21:02 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/index In directory hutz:/tmp/cvs-serv18238/css/index Modified Files: IndexGenerator.java Log Message: genericity + updated code to 5.0 stds Index: IndexGenerator.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/index/IndexGenerator.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- IndexGenerator.java 20 Jan 2009 13:58:53 -0000 1.8 +++ IndexGenerator.java 29 Aug 2011 07:21:00 -0000 1.9 @@ -6,6 +6,16 @@ */ package org.w3c.css.index; +import org.apache.velocity.Template; +import org.apache.velocity.VelocityContext; +import org.apache.velocity.app.Velocity; +import org.apache.velocity.exception.MethodInvocationException; +import org.apache.velocity.exception.ParseErrorException; +import org.apache.velocity.exception.ResourceNotFoundException; +import org.w3c.css.util.ApplContext; +import org.w3c.css.util.Messages; +import org.w3c.css.util.Utf8Properties; + import java.io.File; import java.io.FileOutputStream; import java.io.IOException; @@ -17,16 +27,6 @@ import java.util.HashMap; import java.util.Iterator; -import org.apache.velocity.Template; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.Velocity; -import org.apache.velocity.exception.MethodInvocationException; -import org.apache.velocity.exception.ParseErrorException; -import org.apache.velocity.exception.ResourceNotFoundException; -import org.w3c.css.util.ApplContext; -import org.w3c.css.util.Messages; -import org.w3c.css.util.Utf8Properties; - /** * @author julien * @@ -65,7 +65,7 @@ Iterator it; // Getting the differents languages informations (for the lang choice) - HashMap[] languages = new HashMap[Messages.languages_name.size()]; + HashMap<String,String>[] languages = new HashMap[Messages.languages_name.size()]; for (int i = 0; i < Messages.languages_name.size(); ++i) { name = String.valueOf(Messages.languages_name.get(i)); HashMap<String,String> l = new HashMap<String,String>();
Received on Monday, 29 August 2011 07:21:03 UTC