Update of /var/cvs/src/org/mmbase/module/builders
In directory james.mmbase.org:/tmp/cvs-serv12544
Modified Files:
Properties.java
Log Message:
return type can actually be of the correct type
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/module/builders
Index: Properties.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/builders/Properties.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- Properties.java 15 Jan 2009 19:59:18 -0000 1.20
+++ Properties.java 15 Jan 2009 21:22:47 -0000 1.21
@@ -45,7 +45,7 @@
</mm:nodelistfunction>
</pre>
*
- * @version $Id: Properties.java,v 1.20 2009/01/15 19:59:18 andre Exp $
+ * @version $Id: Properties.java,v 1.21 2009/01/15 21:22:47 michiel Exp $
*/
public class Properties extends MMObjectBuilder {
@@ -115,8 +115,8 @@
}
{
- addFunction(new AbstractFunction<Object>("list", LIST_PARAMETERS) {
- public Object getFunctionValue(Parameters parameters) {
+ addFunction(new AbstractFunction<NodeList>("list", LIST_PARAMETERS) {
+ public NodeList getFunctionValue(Parameters parameters) {
return
Properties.this.getPropertyNodes(parameters.get(NODE));
}
});
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs