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 20709 - Eliminate unnecessary code duplication
Summary: Eliminate unnecessary code duplication
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: -FFJ-
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-20 11:01 UTC by Petr Jiricka
Modified: 2002-06-21 10:58 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2002-02-20 11:01:42 UTC
Files

tomcat40/src/org/netbeans/modules/tomcat/tomcat40/actions/AccessLogAction.java
tomcat40/src/org/netbeans/modules/tomcat/tomcat40/actions/ContextLogAction.java
tomcat40/src/org/netbeans/modules/tomcat/tomcat40/actions/HostLogAction.java
tomcat40/src/org/netbeans/modules/tomcat/tomcat40/actions/HostsLogAction.java

all contain very similar code for opening the log. The duplicated code should 
be eliminated by factoring into a common utility method/class.
Comment 1 Milan Kuchtiak 2002-03-26 17:34:00 UTC
Fixed for Orion FCS
Comment 2 Milan Kuchtiak 2002-06-21 10:58:09 UTC
LogUtils class was created that contains the "show logging 
files" functionality.