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 48321 - Cleanup the module
Summary: Cleanup the module
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-09-01 17:09 UTC by _ rkubacki
Modified: 2006-03-24 09:46 UTC (History)
1 user (show)

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-09-01 17:12:41 UTC
The is a lot of garbage in javadoc module
remaining from 3.x releases. Many keys in bundles.
Utility methods in classes that are not referenced
anywhere (Choosers). We should get rid of them.
Comment 1 _ rkubacki 2004-09-01 17:17:16 UTC
Affects memory footprint (at least smaller jar) among others.

'ant -f nbbuild/monitor.xml -Dmodules=javadoc -Dfixedmodules= 
check-bundle-usage' produces hints about obsolete keys in bundles.
Comment 2 Jan Pokorsky 2004-09-01 17:39:36 UTC
AFAICR, Honza B. did clean up javadoc bundles some time ago.
Comment 3 _ rkubacki 2004-09-01 17:51:02 UTC
Anything containing words like Mount seems suspiciously now so I think
there are again some remnants that can help you to remove some garbage
clutering our repository.
Comment 4 _ rkubacki 2004-09-21 10:16:34 UTC
/cvs/javadoc/src/org/netbeans/modules/javadoc/ui/Choosers.java,v  <--
 Choosers.java
new revision: delete; previous revision: 1.2
Comment 5 Martin Matula 2004-10-07 08:14:57 UTC
Is this issue still valid?
Comment 6 _ rkubacki 2004-10-07 08:34:04 UTC
Obvoiusly it is. The stuff related to javadoc executors, mounting of
javadoc filesystems (now replaced for javadoc queries).
Comment 7 _ rkubacki 2004-11-22 18:57:58 UTC
If I get it right the search types (subclassing ServiceType) are not
used anymore. Please remove them. At least from layers. This will help
to reduce size of system filesystem and our lookup.
Comment 8 Jan Pokorsky 2004-11-23 10:54:11 UTC
Yes, STs are obsolete.
Comment 9 Jan Pokorsky 2005-01-24 18:25:07 UTC
Service type subclasses cannot be removed since they are still in use
(JavadocRegistry searches the Lookup for them).

Removed obsolete templates, URLMapper registration, obsolete bundle keys.

fixed in

/cvs/javadoc/src/org/netbeans/modules/javadoc/Bundle.properties
new revision: 1.44; previous revision: 1.43
/cvs/javadoc/src/org/netbeans/modules/javadoc/resources/mf-layer.xml
new revision: 1.55; previous revision: 1.54
/cvs/javadoc/src/org/netbeans/modules/javadoc/search/Bundle.properties
new revision: 1.61; previous revision: 1.60
/cvs/javadoc/src/org/netbeans/modules/javadoc/settings/Bundle.properties
new revision: 1.26; previous revision: 1.25
/cvs/javadoc/src/org/netbeans/modules/javadoc/ui/Bundle.properties
new revision: delete; previous revision: 1.4
/cvs/javadoc/src/org/netbeans/modules/javadoc/ui/ResourceUtils.java
new revision: delete; previous revision: 1.2
Comment 10 Milan Kubec 2005-07-15 09:01:22 UTC
Radime, please verify this issue. Thanks.
Comment 11 _ rkubacki 2005-07-20 14:09:16 UTC
v