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

2006/unicorn/src/org/w3c/unicorn/action ObserveAction.java,1.1.2.10,1.1.2.11

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 27 Aug 2009 14:06:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MgfcM-0007Dq-Pq@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv27738/src/org/w3c/unicorn/action

Modified Files:
      Tag: dev2
	ObserveAction.java 
Log Message:
removed document name setting when method is direct input

Index: ObserveAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/Attic/ObserveAction.java,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -u -d -r1.1.2.10 -r1.1.2.11
--- ObserveAction.java	27 Aug 2009 12:18:48 -0000	1.1.2.10
+++ ObserveAction.java	27 Aug 2009 14:06:20 -0000	1.1.2.11
@@ -324,7 +324,6 @@
 			aUnicornCall.setInputParameterValue(tStringParamValue[0]);
 		} else if (sParamName.equals("text")) {
 			aUnicornCall.setEnumInputMethod(EnumInputMethod.DIRECT);
-			aUnicornCall.setDocumentName(tStringParamValue[0]);
 			aUnicornCall.setInputParameterValue(tStringParamValue[0]);
 		}
 		// TODO add upload handle when it work
@@ -386,6 +385,11 @@
 			Map<String, Object> mapOfStringObject = new LinkedHashMap<String, Object>();
 			mapOfStringObject.put("unicorncall", aUnicornCall);
 
+			logger.debug("Request output formater with parameters: " 
+					+ mapOfOutputParameter.get("format") + " "
+					+ mapOfOutputParameter.get("lang") + " "
+					+ mapOfOutputParameter.get("mimetype"));
+			
 			final OutputFormater aOutputFormater = OutputFactory
 					.getOutputFormater(mapOfOutputParameter.get("format"),
 							mapOfOutputParameter.get("lang"),
Received on Thursday, 27 August 2009 14:06:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC