db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject [PATCH] - More efficient toArray() in o.a.o.metadata.torque.*
Date Fri, 14 Jan 2005 16:02:46 GMT
Hi:

Attached is a small patch related to the toArray() usage:

If the array passed in is big enough to store all of the elements of the
collection, then it is populated and returned directly. This avoids the
need to create a second array (by reflection) to return as the result.

Best Regards,

Antonio Gallardo
Mime
View raw message