[Yanel-commits] rev 25303 - public/yanel/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources

michi at wyona.com michi at wyona.com
Thu Jun 21 17:24:55 CEST 2007


Author: michi
Date: 2007-06-21 17:24:54 +0200 (Thu, 21 Jun 2007)
New Revision: 25303

Modified:
   public/yanel/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources/XmlViewResource.java
Log:
do not use variable response directly but rather use getResponse method

Modified: public/yanel/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources/XmlViewResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources/XmlViewResource.java	2007-06-21 15:22:05 UTC (rev 25302)
+++ public/yanel/trunk/src/contributions/resources/davcollection/src/java/org/wyona/yanel/impl/resources/XmlViewResource.java	2007-06-21 15:24:54 UTC (rev 25303)
@@ -73,7 +73,7 @@
     public View getView(String viewId) throws Exception {
         
         // set the output stream for the XML serializer
-        this.xmlSerializer.setOutputByteStream(response.getOutputStream());
+        this.xmlSerializer.setOutputByteStream(getResponse().getOutputStream());
         
         this.contentHandler = xmlSerializer.asContentHandler();
         




More information about the Yanel-commits mailing list