db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Morken <ander...@stud.ntnu.no>
Subject Re: [jira] Updated: (DERBY-816) In DDMWriter and DDMReader, use system routines in java.util.Arrays and System.arrayCopy
Date Tue, 17 Jan 2006 21:40:35 GMT
Bryan Pendleton:
> Knut Anders Hatlen (JIRA) wrote:
> >     [ http://issues.apache.org/jira/browse/DERBY-816?page=all ]
> 
> I believe there are also some places in the client code where it
> could be beneficial to use System.arraycopy and/or Arrays.fill.
> For example, in Reply.compressBLayerData() in Reply.java there is
> such a case:

This seemed like something suitable for a novice, so I've picked up a
couple of instances of this (So far in Reply.java and Request.java), and
changed them to use System.arrayCopy() and Arrays.fill(). I'm running
tests now, and unless it breaks or I find more stuff to mess with I'll
stick a patch in JIRA before going to bed. =)

-- 
Anders Morken

My opinions may have changed, but not the fact that I am right!

Mime
View raw message