You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2008/12/19 03:00:06 UTC

svn commit: r727891 - in /incubator/hama/trunk: CHANGES.txt src/java/org/apache/hama/DenseMatrix.java

Author: edwardyoon
Date: Thu Dec 18 18:00:06 2008
New Revision: 727891

URL: http://svn.apache.org/viewvc?rev=727891&view=rev
Log:
In subMatrix(), Scanner should be closed

Modified:
    incubator/hama/trunk/CHANGES.txt
    incubator/hama/trunk/src/java/org/apache/hama/DenseMatrix.java

Modified: incubator/hama/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=727891&r1=727890&r2=727891&view=diff
==============================================================================
--- incubator/hama/trunk/CHANGES.txt (original)
+++ incubator/hama/trunk/CHANGES.txt Thu Dec 18 18:00:06 2008
@@ -90,6 +90,7 @@
 
   BUG FIXES
    
+    HAMA-140: In subMatrix(), Scanner should be closed (edwardyoon)
     HAMA-120: remove findbugs warning in shell package (samuel via edwardyoon)
     HAMA-130: Computing Block's range will miss some cell during blocking
               (samuel)

Modified: incubator/hama/trunk/src/java/org/apache/hama/DenseMatrix.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/DenseMatrix.java?rev=727891&r1=727890&r2=727891&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/DenseMatrix.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/DenseMatrix.java Thu Dec 18 18:00:06 2008
@@ -472,6 +472,7 @@
       i++;
     }
 
+    scan.close();
     return result;
   }