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 - FileSets API -- unclear contents of FileSets
Summary: FileSets API -- unclear contents of FileSets
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@projects
URL:
Keywords: API
: 33646 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-26 15:05 UTC by Ondrej Rypacek
Modified: 2004-04-19 16:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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