This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There are several examples for usage of factory class FileSets on page http://www.netbeans.org/download/prj40_prototype/javadoc/FileSetsAPIs/org/netbeans/api/filesets/doc-files/description.html. The second example titled "Convert fileset to a set of DataObjects without broken references" has a wrong code: Set do_set = FileSets.createDataObjectSet(fs, false); It should be Set do_set = FileSets.toDataObjectSet(fs, false); ?
Fixed.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED