mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject svn commit: r779582 - /lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
Date Thu, 28 May 2009 12:28:00 GMT
Author: srowen
Date: Thu May 28 12:28:00 2009
New Revision: 779582

URL: http://svn.apache.org/viewvc?rev=779582&view=rev
Log:
Fixed a small misspelling

Modified:
    lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java

Modified: lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java?rev=779582&r1=779581&r2=779582&view=diff
==============================================================================
--- lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
(original)
+++ lucene/mahout/trunk/core/src/main/java/org/apache/mahout/cf/taste/impl/model/file/FileDataModel.java
Thu May 28 12:28:00 2009
@@ -129,7 +129,7 @@
           processFile(updateFile, data);
         }
 
-        delegate = new GenericDataModel(new UserIteratableOverData(data));
+        delegate = new GenericDataModel(new UserIterableOverData(data));
         loaded = true;
 
       } finally {
@@ -408,11 +408,12 @@
   }
 
 
-  private final class UserIteratableOverData implements Iterable<User> {
+  private final class UserIterableOverData implements Iterable<User> {
     private final Map<String, List<Preference>> data;
-    private UserIteratableOverData(Map<String, List<Preference>> data) {
+    private UserIterableOverData(Map<String, List<Preference>> data) {
       this.data = data;
     }
+
     @Override
     public Iterator<User> iterator() {
       return new UserIteratorOverData(data.entrySet().iterator());



Mime
View raw message