mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Schelter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAHOUT-889) size() returns wrong value (10) on freshly instantiated ObjectArrayList.
Date Fri, 22 Jun 2012 10:44:42 GMT

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

Sebastian Schelter updated MAHOUT-889:
--------------------------------------

    Attachment: MAHOUT-889.patch
    
> 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

        

Mime
View raw message