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

2006/unicorn/src/org/w3c/unicorn/action ObserveAction.java,1.5,1.6

From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 01 Sep 2009 16:00:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MiVmU-0004PP-Gr@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv16874/src/org/w3c/unicorn/action

Modified Files:
	ObserveAction.java 
Log Message:
simplified outputs a bit

Index: ObserveAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/ObserveAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ObserveAction.java	1 Sep 2009 13:40:55 -0000	1.5
+++ ObserveAction.java	1 Sep 2009 16:00:24 -0000	1.6
@@ -376,11 +376,11 @@
 
 		try {
 			final OutputFormater aOutputFormater = OutputFactory
-					.getOutputFormater(mapOfOutputParameter.get("format"),
+					.createOutputFormater(mapOfOutputParameter.get("format"),
 							mapOfOutputParameter.get("lang"),
 							mapOfOutputParameter.get("mimetype"));
 			final OutputModule aOutputModule = OutputFactory
-					.getOutputModule(mapOfOutputParameter.get("output"));
+					.createOutputModule(mapOfOutputParameter.get("output"));
 			aOutputModule.produceError(aOutputFormater, aExceptionError,
 					mapOfSpecificParameter, aHttpServletResponse.getWriter());
 		} catch (final ResourceNotFoundException e) {
@@ -420,11 +420,11 @@
 					+ mapOfOutputParameter.get("mimetype"));
 			
 			final OutputFormater aOutputFormater = OutputFactory
-					.getOutputFormater(mapOfOutputParameter.get("format"),
+					.createOutputFormater(mapOfOutputParameter.get("format"),
 							mapOfOutputParameter.get("lang"),
 							mapOfOutputParameter.get("mimetype"));
 			final OutputModule aOutputModule = OutputFactory
-					.getOutputModule(mapOfOutputParameter.get("output"));
+					.createOutputModule(mapOfOutputParameter.get("output"));
 			aOutputModule.produceOutput(aOutputFormater, mapOfStringObject,
 					mapOfSpecificParameter, aHttpServletResponse.getWriter());
 		}
Received on Tuesday, 1 September 2009 16:00:34 GMT

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