cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r169466 - /cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/instruction/StartOut.java
Date Tue, 10 May 2005 13:23:06 GMT
Author: lgawron
Date: Tue May 10 06:23:04 2005
New Revision: 169466

URL: http://svn.apache.org/viewcvs?rev=169466&view=rev
Log:
lost a null check during refactoring

Modified:
    cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/instruction/StartOut.java

Modified: cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/instruction/StartOut.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/instruction/StartOut.java?rev=169466&r1=169465&r2=169466&view=diff
==============================================================================
--- cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/instruction/StartOut.java
(original)
+++ cocoon/blocks/unsupported/template/trunk/java/org/apache/cocoon/template/jxtg/instruction/StartOut.java
Tue May 10 06:23:04 2005
@@ -47,8 +47,10 @@
                 JXTExpression.compileExpr(value, "out: \"value\": ", locator);
             String lenientValue = attrs.getValue("lenient");
             Boolean lenient = lenientValue == null ? null : Boolean.valueOf(lenientValue);
+
             // Why can out be lenient?
-            this.compiledExpression.setLenient(lenient);
+            if ( lenient != null)
+                this.compiledExpression.setLenient(lenient);
         } else {
             throw new SAXParseException("out: \"value\" is required", locator, null);
         }



Mime
View raw message