[ 
https://issues.apache.org/jira/browse/MAHOUT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624514#comment-13624514
 ] 

Hudson commented on MAHOUT-1186:
--------------------------------

Integrated in Mahout-Quality #1950 (See 
[https://builds.apache.org/job/Mahout-Quality/1950/])
    Fixes MAHOUT-1186 (see also https://reviews.apache.org/r/10311 ) (Revision 
1465122)

     Result = SUCCESS
jmannix : 
Files : 
* 
/mahout/trunk/math/src/main/java-templates/org/apache/mahout/math/map/OpenKeyTypeObjectHashMap.java.t
* 
/mahout/trunk/math/src/main/java-templates/org/apache/mahout/math/map/OpenObjectValueTypeHashMap.java.t
* 
/mahout/trunk/math/src/main/java-templates/org/apache/mahout/math/set/OpenKeyTypeHashSet.java.t
* 
/mahout/trunk/math/src/test/java-templates/org/apache/mahout/math/map/OpenKeyTypeObjectHashMapTest.java.t

                
> 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: 0.3, collections-1.0
>            Reporter: Andy Schlaikjer
>            Assignee: Jake Mannix
>             Fix For: 0.8
>
>         Attachments: MAHOUT-1186.diff
>
>
> 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

Reply via email to