[
https://issues.apache.org/jira/browse/MAHOUT-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867101#comment-13867101
]
Suneel Marthi commented on MAHOUT-1393:
---------------------------------------
Never mind, I had fixed it and committed the same to trunk. Thanks again for
reporting this and the patch.
> Removed duplicated code from getTopTerms and getTopFeatures in
> AbstractClusterWriter
> -------------------------------------------------------------------------------------
>
> Key: MAHOUT-1393
> URL: https://issues.apache.org/jira/browse/MAHOUT-1393
> Project: Mahout
> Issue Type: Improvement
> Components: Clustering
> Affects Versions: 0.8
> Reporter: Diego Carrion
> Priority: Minor
> Fix For: 0.9
>
> Attachments: refactoring.patch
>
>
> The class org.apache.mahout.utils.clusteringAbstractClusterWriterTest has
> duplicated code in the methods getTopFeatures and getTopTerms. The duplicated
> code was extracted to a third private method called getTopTermsPairs.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)