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 49919 - Avoid subclassing of WeakListener in properties module
Summary: Avoid subclassing of WeakListener in properties module
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 4.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 59981
  Show dependency tree
 
Reported: 2004-10-05 08:38 UTC by _ rkubacki
Modified: 2006-03-24 10:04 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 _ rkubacki 2004-10-05 08:38:45 UTC
It is better to use WeakListeners.create to
generate weak listener for this purpose.
WeakListener is deprecated now. Removing the
subclass also improves memory footprint.
Comment 1 Marian Petras 2005-04-21 15:06:32 UTC
Accepted.
Comment 2 Tomas Stupka 2005-08-29 10:19:13 UTC
Fixed in trunk.

Removed files:
 /properties/src/org/netbeans/modules/properties/WeakListenerPropertyBundle.java

Modified files:
/properties/src/org/netbeans/modules/properties/PropertiesTableModel.java
Comment 3 _ rkubacki 2005-08-31 16:26:08 UTC
v