cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r279157 - /cocoon/blocks/template/trunk/java/org/apache/cocoon/template/expression/JXTExpressionCompiler.java
Date Tue, 06 Sep 2005 22:24:13 GMT
Author: lgawron
Date: Tue Sep  6 15:23:52 2005
New Revision: 279157

URL: http://svn.apache.org/viewcvs?rev=279157&view=rev
Log:
missing commit for JXTExpressionCompiler.java: proxying to ExpressionFactory.compile

Modified:
    cocoon/blocks/template/trunk/java/org/apache/cocoon/template/expression/JXTExpressionCompiler.java

Modified: cocoon/blocks/template/trunk/java/org/apache/cocoon/template/expression/JXTExpressionCompiler.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/template/trunk/java/org/apache/cocoon/template/expression/JXTExpressionCompiler.java?rev=279157&r1=279156&r2=279157&view=diff
==============================================================================
--- cocoon/blocks/template/trunk/java/org/apache/cocoon/template/expression/JXTExpressionCompiler.java
(original)
+++ cocoon/blocks/template/trunk/java/org/apache/cocoon/template/expression/JXTExpressionCompiler.java
Tue Sep  6 15:23:52 2005
@@ -52,9 +52,12 @@
         this.manager.release(this.expressionFactory);
     }
 
+    protected JXTExpression compile(final String expression) throws Exception {
+        return new JXTExpression(expression, this.expressionFactory.getExpression(expression));
+    }
+
     protected JXTExpression compile(final String expression, String language) throws Exception
{
-        Expression compiled = this.expressionFactory.getExpression(language, expression);
-        return new JXTExpression(expression, compiled);
+        return new JXTExpression(expression, this.expressionFactory.getExpression(language,
expression));
     }
 
     /*



Mime
View raw message