You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2003/03/03 07:41:10 UTC

Compile error in FlowVelocityGenerator

Small mistake....

Patch;
cvs -q diff -u -r 1.1 FlowVelocityGenerator.java

Index: FlowVelocityGenerator.java
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon2/src/blocks/velocity/java/org/apache/cocoon/generation/FlowVelocityGenerator.java,v
retrieving revision 1.1
diff -u -r1.1 FlowVelocityGenerator.java
--- FlowVelocityGenerator.java  2 Mar 2003 23:40:11 -0000       1.1
+++ FlowVelocityGenerator.java  3 Mar 2003 06:46:26 -0000
@@ -413,7 +413,7 @@
         final JXPathBeanInfo bi = 
JXPathIntrospector.getBeanInfo(bean.getClass());
         DynamicPropertyHandler h = null;
         final PropertyDescriptor[] props;
-        if (bi.isDynamic();
+        if (bi.isDynamic() ) {
             Class cl = bi.getDynamicPropertyHandlerClass();
             try {
                 h = (DynamicPropertyHandler)cl.newInstance();