W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/src/org/w3c/unicorn/action Action.java,1.6,1.7

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 08 Sep 2009 15:47:32 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Ml2uq-0001w5-7W@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv7427/src/org/w3c/unicorn/action

Modified Files:
	Action.java 
Log Message:
updated imports + removed comments

Index: Action.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/Action.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Action.java	8 Sep 2009 14:23:33 -0000	1.6
+++ Action.java	8 Sep 2009 15:47:30 -0000	1.7
@@ -2,8 +2,6 @@
 
 import java.io.IOException;
 import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.Map;
 
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServlet;
@@ -55,7 +53,6 @@
 	
 	public String getLanguage(String langParameter, HttpServletRequest req, ArrayList<Message> messages) {
 		
-		//String langParameter = req.getParameter(Property.get("UNICORN_PARAMETER_PREFIX") + "lang");
 		String lang;
 		if (langParameter == null || !Framework.getLanguageProperties().containsKey(langParameter))
 			lang = Language.negociate(req.getLocales());
@@ -75,7 +72,6 @@
 
 	public String getTask(String taskParameter, ArrayList<Message> messages) {
 		
-		//String taskParameter = req.getParameter(Property.get("UNICORN_PARAMETER_PREFIX") + "task");
 		String task;
 		if (taskParameter == null || !Framework.mapOfTask.containsKey(taskParameter))
 			task = Framework.mapOfTask.getDefaultTaskId();
Received on Tuesday, 8 September 2009 15:47:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT