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/10/09 09:56:09 UTC
svn commit: r703095 - in /incubator/hama/trunk/src/test/org/apache/hama:
TestDenseMatrix.java shell/parser/expression/TestHamaExpressionParser.java
Author: edwardyoon
Date: Thu Oct 9 00:56:08 2008
New Revision: 703095
URL: http://svn.apache.org/viewvc?rev=703095&view=rev
Log:
Rename clear to close
Modified:
incubator/hama/trunk/src/test/org/apache/hama/TestDenseMatrix.java
incubator/hama/trunk/src/test/org/apache/hama/shell/parser/expression/TestHamaExpressionParser.java
Modified: incubator/hama/trunk/src/test/org/apache/hama/TestDenseMatrix.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/TestDenseMatrix.java?rev=703095&r1=703094&r2=703095&view=diff
==============================================================================
--- incubator/hama/trunk/src/test/org/apache/hama/TestDenseMatrix.java (original)
+++ incubator/hama/trunk/src/test/org/apache/hama/TestDenseMatrix.java Thu Oct 9 00:56:08 2008
@@ -51,7 +51,7 @@
protected void tearDown() {
try {
- clearTest();
+ closeTest();
} catch (IOException e) {
e.printStackTrace();
}
@@ -60,9 +60,9 @@
return setup;
}
- public static void clearTest() throws IOException {
- m1.clear();
- m2.clear();
+ public static void closeTest() throws IOException {
+ m1.close();
+ m2.close();
}
/**
Modified: incubator/hama/trunk/src/test/org/apache/hama/shell/parser/expression/TestHamaExpressionParser.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/test/org/apache/hama/shell/parser/expression/TestHamaExpressionParser.java?rev=703095&r1=703094&r2=703095&view=diff
==============================================================================
--- incubator/hama/trunk/src/test/org/apache/hama/shell/parser/expression/TestHamaExpressionParser.java (original)
+++ incubator/hama/trunk/src/test/org/apache/hama/shell/parser/expression/TestHamaExpressionParser.java Thu Oct 9 00:56:08 2008
@@ -80,7 +80,7 @@
protected void tearDown() {
log.info("tearDown()");
try {
- clear();
+ close();
} catch (IOException e) {
e.printStackTrace();
}
@@ -89,12 +89,12 @@
return setup;
}
- private static void clear() throws IOException {
- B.clear();
- C.clear();
- D.clear();
- F.clear();
- G.clear();
+ private static void close() throws IOException {
+ B.close();
+ C.close();
+ D.close();
+ F.close();
+ G.close();
}
private static void setUpShellEnv() {