mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject svn commit: r1131342 - /mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java
Date Sat, 04 Jun 2011 07:19:30 GMT
Author: srowen
Date: Sat Jun  4 07:19:30 2011
New Revision: 1131342

URL: http://svn.apache.org/viewvc?rev=1131342&view=rev
Log:
MAHOUT-721 just make VectorWritable implement toString()

Modified:
    mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java?rev=1131342&r1=1131341&r2=1131342&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java (original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/math/VectorWritable.java Sat Jun  4
07:19:30 2011
@@ -185,4 +185,10 @@ public final class VectorWritable extend
     v.readFields(in);
     return v.get();
   }
+
+  @Override
+  public String toString() {
+    return vector.toString();
+  }
+
 }



Mime
View raw message