[
https://issues.apache.org/jira/browse/MAHOUT-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153102#comment-13153102
]
Isabel Drost commented on MAHOUT-889:
-------------------------------------
Thanks for the test.
As to your confusion about why Ted asked for the test: Adding a test that shows
your issue is a nice and simple option to make changes to the Mahout code base,
create a patch file and submit that to jira - which in turn is a trivial way to
get more involved with the project. If you are interested you can find more
information at https://cwiki.apache.org/MAHOUT/how-to-contribute.html
> 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
>
> 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