cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r577245 - /cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/variables/StringTemplateParserVariableResolver.java
Date Wed, 19 Sep 2007 11:11:48 GMT
Author: gkossakowski
Date: Wed Sep 19 04:11:47 2007
New Revision: 577245

URL: http://svn.apache.org/viewvc?rev=577245&view=rev
Log:
COCOON-2134: Implemented Disposable interface in StringTemplateParserVariableResolver.

Modified:
    cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/variables/StringTemplateParserVariableResolver.java

Modified: cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/variables/StringTemplateParserVariableResolver.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/variables/StringTemplateParserVariableResolver.java?rev=577245&r1=577244&r2=577245&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/variables/StringTemplateParserVariableResolver.java
(original)
+++ cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/variables/StringTemplateParserVariableResolver.java
Wed Sep 19 04:11:47 2007
@@ -18,6 +18,7 @@
 
 import java.util.Map;
 
+import org.apache.avalon.framework.activity.Disposable;
 import org.apache.cocoon.components.treeprocessor.InvokeContext;
 import org.apache.cocoon.el.objectmodel.ObjectModel;
 import org.apache.cocoon.el.parsing.StringTemplateParser;
@@ -29,7 +30,7 @@
  *
  * @version $Id$
  */
-public final class StringTemplateParserVariableResolver extends VariableResolver {
+public final class StringTemplateParserVariableResolver extends VariableResolver implements
Disposable {
     
     public final static String ROLE = StringTemplateParserVariableResolver.class.getName();
     
@@ -79,6 +80,10 @@
         } catch (Exception e) {
             throw new PatternException(e);
         }
+    }
+
+    public void dispose() {
+        //nothing to do
     }
 
 }



Mime
View raw message