Redundanct Code in UTF8StreamWriter
-----------------------------------
Key: JIBX-62
URL: http://jira.codehaus.org/browse/JIBX-62
Project: JiBX
Type: Bug
Components: core
Versions: CVS
Reporter: Chris Chen
UTF8StreamWriter's constructor
public UTF8StreamWriter(String[] uris) {
super("UTF-8", uris);
m_prefixBytes = new byte[uris.length][];
defineNamespace(0, "");
defineNamespace(1, "xml");
}
does a redundant initialization of m_prefixBytes. The initialization is
already done in the parent class constructor, StreamWriterBase. It is
unnecessary to re-initialize m_prefixBytes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs