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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13399367#comment-13399367 ] 

Hudson commented on MAHOUT-889:
-------------------------------

Integrated in Mahout-Quality #1556 (See [https://builds.apache.org/job/Mahout-Quality/1556/])
    MAHOUT-889 size() returns wrong value (10) on freshly instantiated ObjectArrayList (Revision 1352835)

     Result = SUCCESS
ssc : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1352835
Files : 
* /mahout/trunk/math/src/main/java/org/apache/mahout/math/list/ObjectArrayList.java
* /mahout/trunk/math/src/test/java/org/apache/mahout/math/list
* /mahout/trunk/math/src/test/java/org/apache/mahout/math/list/ObjectArrayListTest.java

                
> 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