Return-Path: Delivered-To: apmail-incubator-hama-commits-archive@locus.apache.org Received: (qmail 27477 invoked from network); 9 Oct 2008 07:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2008 07:52:07 -0000 Received: (qmail 12259 invoked by uid 500); 9 Oct 2008 07:52:05 -0000 Delivered-To: apmail-incubator-hama-commits-archive@incubator.apache.org Received: (qmail 12234 invoked by uid 500); 9 Oct 2008 07:52:05 -0000 Mailing-List: contact hama-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@ Delivered-To: mailing list hama-commits@incubator.apache.org Received: (qmail 12200 invoked by uid 99); 9 Oct 2008 07:52:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 00:52:05 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 07:51:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A544723888AF; Thu, 9 Oct 2008 00:51:44 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r703093 - in /incubator/hama/trunk/src: examples/org/apache/hama/examples/MatrixAddition.java java/org/apache/hama/AbstractMatrix.java java/org/apache/hama/Matrix.java Date: Thu, 09 Oct 2008 07:51:44 -0000 To: hama-commits@incubator.apache.org From: edwardyoon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081009075144.A544723888AF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Thu Oct 9 00:51:44 2008 New Revision: 703093 URL: http://svn.apache.org/viewvc?rev=703093&view=rev Log: Rename clear to close. Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java incubator/hama/trunk/src/java/org/apache/hama/Matrix.java Modified: incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java?rev=703093&r1=703092&r2=703093&view=diff ============================================================================== --- incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java (original) +++ incubator/hama/trunk/src/examples/org/apache/hama/examples/MatrixAddition.java Thu Oct 9 00:51:44 2008 @@ -49,6 +49,10 @@ Matrix c = a.add(b); printMatrix("C = A + B", c); + + a.close(); + b.close(); + c.close(); } private static void parseArgs(String[] args) { Modified: incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java?rev=703093&r1=703092&r2=703093&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java Thu Oct 9 00:51:44 2008 @@ -152,7 +152,7 @@ return (matrixName != null) ? matrixName : null; } - public void clear() throws IOException { + public void close() throws IOException { admin.deleteTable(matrixName); } Modified: incubator/hama/trunk/src/java/org/apache/hama/Matrix.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/Matrix.java?rev=703093&r1=703092&r2=703093&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/Matrix.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/Matrix.java Thu Oct 9 00:51:44 2008 @@ -249,9 +249,9 @@ public void load(String path) throws IOException; /** - * Clear current matrix. + * Close current matrix. * * @throws Exception */ - public void clear() throws IOException; + public void close() throws IOException; }