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: | replace by XMLUtil when that has findElement, findText, etc. | ||
---|---|---|---|
Product: | ide | Reporter: | mvfranz <mvfranz> |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | NEW --- | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 136595 | ||
Bug Blocks: | |||
Attachments: | Proposed patch with API for XMLUtil |
Description
mvfranz
2010-05-29 03:29:44 UTC
Reviewing the code in J2SEProject, I am thinking that there needs to be another method added to XMLUtil to make this code cleaner. Something like updateOrInsertNode or replaceOrInsertNode to replace the bulk of these methods. The existing methods copyDocument and appendChildElement will not work, or do not make the code cleaner. This is for GF ESB. Alex, please evaluate. Created attachment 100040 [details]
Proposed patch with API for XMLUtil
I refactored listed projects to use new API methods in XMLUtil.
Any interest in these changes? Filed in the wrong component. |