cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r123789 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java
Date Fri, 31 Dec 2004 13:39:41 GMT
Author: antonio
Date: Fri Dec 31 05:39:40 2004
New Revision: 123789

URL: http://svn.apache.org/viewcvs?view=rev&rev=123789
Log:
Fix typos
Modified:
   cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java?view=diff&rev=123789&p1=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java&r1=123788&p2=cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java&r2=123789
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/BeanConfigurator.java
Fri Dec 31 05:39:40 2004
@@ -33,7 +33,7 @@
  * Static class for configuring a CocoonBean from a DOM Document object
  *
  * @author <a href="mailto:uv@upaya.co.uk">Upayavira</a>
- * @version CVS $Id: BeanConfigurator.java,v 1.8 2004/03/28 20:51:24 antonio Exp $
+ * @version CVS $Id$
  */
 public class BeanConfigurator {
 
@@ -373,9 +373,9 @@
                 dest = getAttributeValue(node, ATTR_URI_DESTURI);
             }
 
-            if (root != null && type != null & dest != null) {
+            if (root != null && type != null && dest != null) {
                 cocoon.addTarget(type, root, src, dest);
-            } else if (root != null & dest != null) {
+            } else if (root != null && dest != null) {
                 cocoon.addTarget(root, src, dest);
             } else if (dest != null) {
                 cocoon.addTarget(src, dest);

Mime
View raw message