You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Hendrik Maryns <he...@sfs.uni-tuebingen.de> on 2006/07/06 10:31:44 UTC

[Collections] Small bug in MultiKey

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