[
https://issues.apache.org/jira/browse/MAHOUT-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Schelter updated MAHOUT-729:
--------------------------------------
Resolution: Fixed
Fix Version/s: 0.6
Status: Resolved (was: Patch Available)
> Refactoring: Use Maps.newHashMap() and Lists.newArrayList() from Guava
> globally
> -------------------------------------------------------------------------------
>
> Key: MAHOUT-729
> URL: https://issues.apache.org/jira/browse/MAHOUT-729
> Project: Mahout
> Issue Type: Improvement
> Affects Versions: 0.6
> Reporter: Sebastian Schelter
> Assignee: Sebastian Schelter
> Fix For: 0.6
>
> Attachments: MAHOUT-729.patch
>
>
> I put on my refactoring hat today and started to replace all calls to "new
> HashMap" with Maps.newHashMap() as well as all calls to "new ArrayList" with
> Lists.newArrayList() from Guava. This should make the code much more readable
> as the generic type of a variable needs to be written only once per line. I
> also refactored some minor things I encountered along the way.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira