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

Summary: FileSets API - underspecified composititons
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: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