commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Maryns <hend...@sfs.uni-tuebingen.de>
Subject [Collections] Small bug in MultiKey
Date Thu, 06 Jul 2006 08:31:44 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The toString method in MultiKey is defined like this:
return "MultiKey" + Arrays.asList(keys).toString();

This creates an unnecessary object.  It should be
return "MultiKey" + Arrays.toString(keys);

Cheers, H.
- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFErMpvf8wVQAnB0SYRAkjEAJwKeyxt4sf+Vcdy65/xYDX16dBtKwCguLAf
Gswnw0/gbdSWcs5/O0XEIEY=
=zGv0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message