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.
Summary: | No need to implement FileChangeListener in WsCompileConfigDataObject | ||
---|---|---|---|
Product: | webservices | Reporter: | _ rkubacki <rkubacki> |
Component: | Code | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P4 | Keywords: | PERFORMANCE |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ rkubacki
2006-01-11 21:26:34 UTC
FileChangeListener as implemented by WsCompileConfigDataObject (which is just a skeleton) is proof-of-concept code related to JWSDP 1.4 implementation of handlers in the configuration file, but this changed in JWSDP 1.5 and this code is probably obsolete. The FileObserver implementation is for proper triggering of reparsing the XML due to external changes to the configuration file. The listener is attached in the constructor to the FileObject passed in. It is entirely possible there are bugs or unnecessary steps going on here. I'm sure a code review by someone versed in the art of DDAPI implemenations and/or File event structures would be more than welcome. Sorry, I missed that FileObserver is attached in constructor. So removing 'implements FCL' and methods from outer class should be enough. Integrated into 'main-golden', will be available in build *200811231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/33de8d877786 User: mkuchtiak@netbeans.org Log: #71283: removing implements clause(FCL) |