Small enhancements and tweaks for the org.apache.xerces.dom package
-------------------------------------------------------------------
Key: XERCESJ-1125
URL: http://issues.apache.org/jira/browse/XERCESJ-1125
Project: Xerces2-J
Type: Improvement
Reporter: Nathan Beyer
Priority: Minor
Attachments: org_apache_xerces_dom_patches.txt
The attached patch file contains some small code changes. Most of the changes
are unnecessary cast removals. The most significant change is changing a cast
to an instanceof check in the NodeImpl class. The only thing the cast was doing
was attempting to force a ClassCastException. It seems more appropriate to use
an instanceof check, as well as less expensive, since an exception is avoided.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]