You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sebastian Schelter (JIRA)" <ji...@apache.org> on 2012/06/22 12:44:42 UTC

[jira] [Resolved] (MAHOUT-889) size() returns wrong value (10) on freshly instantiated ObjectArrayList.

     [ https://issues.apache.org/jira/browse/MAHOUT-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Schelter resolved MAHOUT-889.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

Done. Thank for pointing to this, Claudio.
                
> size() returns wrong value (10) on freshly instantiated ObjectArrayList.
> ------------------------------------------------------------------------
>
>                 Key: MAHOUT-889
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-889
>             Project: Mahout
>          Issue Type: Bug
>          Components: collections
>    Affects Versions: collections-1.0
>            Reporter: Claudio Martella
>            Assignee: Benson Margulies
>             Fix For: 0.8
>
>         Attachments: MAHOUT-889.patch
>
>
> ObjectArrayList returns 10 for a freshly instantiated object:
> {code}
> ObjectArrayList<String> list = new ObjectArrayList<String>();
> System.out.println(list.size());
> {code}
> prints 10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira