hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1670003 - /hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
Date Mon, 30 Mar 2015 08:08:10 GMT
Author: edwardyoon
Date: Mon Mar 30 08:08:09 2015
New Revision: 1670003

URL: http://svn.apache.org/r1670003
Log:
Fix semiClusterTest build fails

Modified:
    hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java

Modified: hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
URL: http://svn.apache.org/viewvc/hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java?rev=1670003&r1=1670002&r2=1670003&view=diff
==============================================================================
--- hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
(original)
+++ hama/trunk/examples/src/test/java/org/apache/hama/examples/SemiClusterMatchingTest.java
Mon Mar 30 08:08:09 2015
@@ -84,9 +84,9 @@ public class SemiClusterMatchingTest ext
   public static Map<String, List<String>> inputGraphLoader() throws IOException
{
     BufferedReader br = new BufferedReader(new FileReader(INPUT));
     String line, firstVal;
-    List<String> tm = new ArrayList<String>();
     Map<String, List<String>> mp = new HashMap<String, List<String>>();
     while ((line = br.readLine()) != null) {
+      List<String> tm = new ArrayList<String>();
       StringTokenizer st1 = new StringTokenizer(line, "\t");
       firstVal = st1.nextToken();
       StringTokenizer st2 = new StringTokenizer(st1.nextToken(), ",");



Mime
View raw message