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 127669 - Remove unused classes
Summary: Remove unused classes
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-18 17:15 UTC by Roman Mostyka
Modified: 2008-02-19 14:38 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 Roman Mostyka 2008-02-18 17:15:34 UTC
Please, remove the following classes:

org.netbeans.modules.tomcat5.nodes.actions.ContextLogAction
Comment 1 Petr Hejl 2008-02-19 13:33:48 UTC
The class is used in tomcat 5...

Any specific reason why this should be done?
Comment 2 Roman Mostyka 2008-02-19 14:12:56 UTC
I was told after Code Coverage Analysis that this class is unused (dead code). Can you check if this class is really
used anywhere? If yes, then close this issue as INVALID. If no, then it should be removed and issue should be closed as
FIXED.
Comment 3 Petr Hejl 2008-02-19 14:38:14 UTC
It is used in tomcat's web module node:
        
if (tm != null && tm.isTomcat50()) {
    actions.add(SystemAction.get(ContextLogAction.class));
}

I don't know what is the way you use for the code coverage - perhaps it doesn't expect that class can be used this way
(this is recommended way for adding actions to node).