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
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