Return-Path: Delivered-To: apmail-lucene-mahout-commits-archive@minotaur.apache.org Received: (qmail 54639 invoked from network); 28 May 2009 12:28:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 May 2009 12:28:13 -0000 Received: (qmail 60621 invoked by uid 500); 28 May 2009 12:28:26 -0000 Delivered-To: apmail-lucene-mahout-commits-archive@lucene.apache.org Received: (qmail 60555 invoked by uid 500); 28 May 2009 12:28:25 -0000 Mailing-List: contact mahout-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-dev@lucene.apache.org Delivered-To: mailing list mahout-commits@lucene.apache.org Received: (qmail 60538 invoked by uid 99); 28 May 2009 12:28:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2009 12:28:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2009 12:28:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CBF0123888CC; Thu, 28 May 2009 12:28:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: mahout-commits@lucene.apache.org From: srowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090528122800.CBF0123888CC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 { + private final class UserIterableOverData implements Iterable { private final Map> data; - private UserIteratableOverData(Map> data) { + private UserIterableOverData(Map> data) { this.data = data; } + @Override public Iterator iterator() { return new UserIteratorOverData(data.entrySet().iterator());