You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Jake Mannix (JIRA)" <ji...@apache.org> on 2013/04/05 20:01:21 UTC
[jira] [Created] (MAHOUT-1186) OpenKeyTypeObjectHashMap#clear() has
been broken forever.
Jake Mannix created MAHOUT-1186:
-----------------------------------
Summary: OpenKeyTypeObjectHashMap#clear() has been broken forever.
Key: MAHOUT-1186
URL: https://issues.apache.org/jira/browse/MAHOUT-1186
Project: Mahout
Issue Type: Bug
Affects Versions: collections-1.0, 0.3
Reporter: Andy Schlaikjer
Assignee: Jake Mannix
Fix For: 0.8
Arrays.clear(array, 0, array.length - 1, FREE);
Means that the last entry in the array is *not* FREE, and hence arrays.clear only *sometimes* empties the array, and hence only *sometimes* clears out all of the entries in the map. Other times, it leaves one element behind. :(
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira