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 51261 - Suggest to null references to tasks in FolderInstance after their execution
Summary: Suggest to null references to tasks in FolderInstance after their execution
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 4.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-11-08 11:55 UTC by _ rkubacki
Modified: 2008-12-22 20:57 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-11-08 11:55:32 UTC
org.openide.loaders.FolderInstance.recognitionTask
and
org.openide.loaders.FolderInstance.creationTask
holds array list of found data objects. Perhaps it
is possible not to hold them when they are processed.
Comment 1 Jaroslav Tulach 2004-11-08 12:27:22 UTC
Perhaps. Any test or specification what will be better?
Comment 2 _ rkubacki 2004-11-08 13:23:06 UTC
we can get rid of 29 arrays + 2*29 tasks. Right, it is only several
(4) kB.
Comment 3 Jaroslav Tulach 2004-11-08 18:03:26 UTC
But the FolderInstance has listeners attached to the DataObjects and there are 
tests to changes in them are really observed. Somebody (and very likely the 
FolderInstance) has to hold the objects to be notified about the changes.