[ http://jira.codehaus.org/browse/JIBX-62?page=all ] Dennis Sosnoski closed JIBX-62: -------------------------------
> Redundanct Code in UTF8StreamWriter > ----------------------------------- > > Key: JIBX-62 > URL: http://jira.codehaus.org/browse/JIBX-62 > Project: JiBX > Type: Improvement > Components: core > Versions: CVS > Reporter: Chris Chen > Assignee: Dennis Sosnoski > Priority: Trivial > Fix For: 1.0-RC1 > > > 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.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
