[Yanel-commits] rev 50375 - public/yanel/trunk/src/build/targets/create-new-resource-type/from-scratch-resource-template/src/java/bar/foo/yanel/impl/resources

michi at wyona.com michi at wyona.com
Sun Jun 13 14:23:27 CEST 2010


Author: michi
Date: 2010-06-13 14:23:27 +0200 (Sun, 13 Jun 2010)
New Revision: 50375

Modified:
   public/yanel/trunk/src/build/targets/create-new-resource-type/from-scratch-resource-template/src/java/bar/foo/yanel/impl/resources/FromScratchResource-xml.java
Log:
exception, copyright and linebreak fixed

Modified: public/yanel/trunk/src/build/targets/create-new-resource-type/from-scratch-resource-template/src/java/bar/foo/yanel/impl/resources/FromScratchResource-xml.java
===================================================================
--- public/yanel/trunk/src/build/targets/create-new-resource-type/from-scratch-resource-template/src/java/bar/foo/yanel/impl/resources/FromScratchResource-xml.java	2010-06-13 12:22:53 UTC (rev 50374)
+++ public/yanel/trunk/src/build/targets/create-new-resource-type/from-scratch-resource-template/src/java/bar/foo/yanel/impl/resources/FromScratchResource-xml.java	2010-06-13 12:23:27 UTC (rev 50375)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2009 Wyona
+ * Copyright 2010 Wyona
  */
 
 package bar.foo.yanel.impl.resources;
@@ -11,7 +11,6 @@
 
 import org.apache.log4j.Logger;
 
-
 /**
  * A simple Resource which extends BasicXMLResource
  */
@@ -25,7 +24,7 @@
      * Should return a InputStream which contains XML. 
      * Use String, StingBuffer, dom, jdom, org.apache.commons.io.IOUtils and so on to generate the XML.
      */
-    protected InputStream getContentXML(String viewId) {
+    protected InputStream getContentXML(String viewId) throws Exception {
         if (log.isDebugEnabled()) {
             log.debug("requested viewId: " + viewId);
         }



More information about the Yanel-commits mailing list