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 33904 - FileSets API - underspecified composititons
Summary: FileSets API - underspecified composititons
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
Depends on:
Blocks:
 
Reported: 2003-05-26 15:16 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:16:54 UTC
FileSet composition methods don't specify the
behaviour of the product with respect to the
particles.

FileSets.intersection and FileSets.union return
new FileSet from two operands, but it is not
specified nor in the signatures nor in the
documentation, whether the product changes, when
the sources change - whether it is connected by
reference, or the entries are coppied.

It would be best, if the behaviour was expressed
in the signature of the return value (should
return something like BinaryFileset or
CompositeFileset) so that nobody could
inadverently change the contract in the future.
Or, at least write it in the documentation.
Comment 1 Dusan Balek 2003-09-11 10:39:20 UTC
Documentation slightly improved.
Comment 2 Jan Becicka 2003-11-25 14:02:16 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 3 Jan Becicka 2003-11-25 14:11:08 UTC
---> CLOSED