commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COLLECTIONS-216) MultiKey's toString method should use Arrays.toString
Date Thu, 06 Jul 2006 16:53:30 GMT
    [ http://issues.apache.org/jira/browse/COLLECTIONS-216?page=comments#action_12419569 ]


Matt Benson commented on COLLECTIONS-216:
-----------------------------------------

Since Arrays.toString() is only available beginning with Java 1.5, this patch cannot be applied
until the [collections] trunk is 1.5-only.

> MultiKey's toString method should use Arrays.toString
> -----------------------------------------------------
>
>          Key: COLLECTIONS-216
>          URL: http://issues.apache.org/jira/browse/COLLECTIONS-216
>      Project: Commons Collections
>         Type: Improvement

>     Versions: 3.2
>     Reporter: Hendrik Maryns
>     Priority: Minor
>  Attachments: MultiKey.diff
>
> Some minor comments on MultiKey:
> - its toString method unnecessarily creates an extra Object.
> - there are some unnecessary casts
> - there is a mistake in the javadocs (actually, this mistake, 'lookup', which should
be in two words, is prevalent in all of the map API)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message