[ http://jira.codehaus.org/browse/JIBX-62?page=all ]
     
Dennis Sosnoski resolved JIBX-62:
---------------------------------

     Resolution: Fixed
    Fix Version: CVS

Added this in too, since there've been many other post-RC0 changes.

> 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: CVS

>
>
> 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: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to