commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Maryns <hendrik.mar...@uni-tuebingen.de>
Subject [Collections] Small bug in MultiKey
Date Thu, 06 Jul 2006 08:58:42 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
Herrenberger Straße 40
D-72070 Tübingen
+49707143783    (Deutschland fest)
+491753353494    (Deutschland Handy)
+32485470741    (België)

=================
www.lieverleven.be    (waarom zou ik hier toch naar verwijzen...)
http://aouw.org        De kunst van het stedelijke oorlogvoeren
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFErNDCBGFP0CTku6MRAvVyAJ9C+wXYyjegomHK+6BmlNaFY0/gUACbBPMB
otrm0vC6QT3HlDkvSLpjmJA=
=Ncvh
-----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