- 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
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 UTC