Update of /var/cvs/src/org/mmbase/util/functions
In directory james.mmbase.org:/tmp/cvs-serv12926

Modified Files:
        ExampleBean.java 
Log Message:
added a remark


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/util/functions


Index: ExampleBean.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/functions/ExampleBean.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- ExampleBean.java    25 Nov 2007 18:25:49 -0000      1.11
+++ ExampleBean.java    13 Jun 2008 09:29:42 -0000      1.12
@@ -12,7 +12,7 @@
  * A bean can be accessed through the function framework. 
  *
  * @author Michiel Meeuwissen
- * @version $Id: ExampleBean.java,v 1.11 2007/11/25 18:25:49 nklasens Exp $
+ * @version $Id: ExampleBean.java,v 1.12 2008/06/13 09:29:42 michiel Exp $
  * @since MMBase-1.8
  */
 public final class ExampleBean {
@@ -106,7 +106,9 @@
     public NodeList nodeListFunction1() {
         Collection<Object> col = nodeListFunction();
         col.add(mapFunction());
-        return new org.mmbase.bridge.util.CollectionNodeList(col);
+        //return new org.mmbase.bridge.util.CollectionNodeList(col);
+        // it's safer to specify the cloud too, especially to be able to 
convert the result of nodeFunction1()
+        return new org.mmbase.bridge.util.CollectionNodeList(col, cloud);
     }
 
     /**
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to