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.

Bug 33903

Summary: FileSets API -- unclear contents of FileSets
Product: projects Reporter: Ondrej Rypacek <rypacek>
Component: Generic InfrastructureAssignee: issues@projects <issues>
Status: CLOSED FIXED    
Severity: blocker Keywords: API
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Ondrej Rypacek 2003-05-26 15:05:30 UTC
It is not very clear what is the contents of a
FileSet. At some places, it looks like it contains
just java.net.URLs, but it is not consistently used. 

- e.g. Content.contains() takes Object as the
parameter -- why not URL? 
- at other places, the doc speaks just about
"objects" , "resources" etc. It should be
normalized just to URL (if that's the case).
- moreover, the methods
FileSets.createFileObjectSet, createDataObjectSet
suggest that it does not contain just URL but
anything. 

Please, clear these ambiguities out - correct
signatures of methods to be as specific as
possible, correct/add documentation.
Comment 1 Ondrej Rypacek 2003-06-11 16:58:42 UTC
I was explained in person that FileSets always return URLs, no matter
what are they built from. We agreed that this is not clear from the
javadoc - it will be corrected.
Comment 2 Vitezslav Stejskal 2003-06-12 17:15:49 UTC
*** Issue 33646 has been marked as a duplicate of this issue. ***
Comment 3 Dusan Balek 2003-09-11 10:38:47 UTC
Documentation slightly improved.
Comment 4 Jan Becicka 2003-11-25 14:02:14 UTC
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 --->
Comment 5 Jan Becicka 2003-11-25 14:11:06 UTC
---> CLOSED