mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robina...@apache.org
Subject svn commit: r909920 - /lucene/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java
Date Sat, 13 Feb 2010 21:45:41 GMT
Author: robinanil
Date: Sat Feb 13 21:45:41 2010
New Revision: 909920

URL: http://svn.apache.org/viewvc?rev=909920&view=rev
Log:
TestCanopyClustering to use DummyReporter instead of null

Modified:
    lucene/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java

Modified: lucene/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java?rev=909920&r1=909919&r2=909920&view=diff
==============================================================================
--- lucene/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java
(original)
+++ lucene/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/canopy/TestCanopyCreation.java
Sat Feb 13 21:45:41 2010
@@ -352,7 +352,7 @@
     
     DummyOutputCollector<Text, Canopy> collector = new DummyOutputCollector<Text,
Canopy>();
     List<VectorWritable> points = getPoints(raw);
-    reducer.reduce(new Text("centroid"), points.iterator(), collector, null);
+    reducer.reduce(new Text("centroid"), points.iterator(), collector, new DummyReporter());
     reducer.close();
     Set<String> keys = collector.getKeys();
     assertEquals("Number of centroids", 3, keys.size());



Mime
View raw message