Update of /var/cvs/src/org/mmbase/bridge/implementation
In directory james.mmbase.org:/tmp/cvs-serv28257

Modified Files:
        BasicFunctionValue.java 
Log Message:
test-case error, is solved by this. Becuase of fix for   MMB-1754 you cannot 
use addAll any more to add non-bridge values (didn't make sense any way)


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge/implementation
See also: http://www.mmbase.org/jira/browse/MMB-1754


Index: BasicFunctionValue.java
===================================================================
RCS file: 
/var/cvs/src/org/mmbase/bridge/implementation/BasicFunctionValue.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- BasicFunctionValue.java     3 Feb 2008 17:33:57 -0000       1.22
+++ BasicFunctionValue.java     22 Dec 2008 17:30:20 -0000      1.23
@@ -20,7 +20,7 @@
  * represents the result of a `function' on a node and it (therefore) is a 
unmodifiable.
  *
  * @author  Michiel Meeuwissen
- * @version $Id: BasicFunctionValue.java,v 1.22 2008/02/03 17:33:57 nklasens 
Exp $
+ * @version $Id: BasicFunctionValue.java,v 1.23 2008/12/22 17:30:20 michiel 
Exp $
  * @since   MMBase-1.6
  */
 public class BasicFunctionValue extends 
org.mmbase.bridge.util.AbstractFieldValue {
@@ -60,9 +60,8 @@
                         }
                         // throw new IllegalStateException("Cloud is unknown, 
cannot convert MMObjectNode to Node");
                     }
-                    NodeList l = cloud.createNodeList();
+                    NodeList l = new BasicNodeList(list, cloud);
                     v = l;
-                    l.addAll(list);
                 }
             }
         }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to