Return-Path: X-Original-To: apmail-hama-commits-archive@www.apache.org Delivered-To: apmail-hama-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CE09DFD6 for ; Wed, 20 Jun 2012 15:41:30 +0000 (UTC) Received: (qmail 16988 invoked by uid 500); 20 Jun 2012 15:41:30 -0000 Delivered-To: apmail-hama-commits-archive@hama.apache.org Received: (qmail 16965 invoked by uid 500); 20 Jun 2012 15:41:30 -0000 Mailing-List: contact commits-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list commits@hama.apache.org Received: (qmail 16956 invoked by uid 99); 20 Jun 2012 15:41:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 15:41:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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; Wed, 20 Jun 2012 15:41:29 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2A9B82388CD7 for ; Wed, 20 Jun 2012 15:41:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1352165 - /hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java Date: Wed, 20 Jun 2012 15:41:09 -0000 To: commits@hama.apache.org From: tommaso@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120620154109.2A9B82388CD7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tommaso Date: Wed Jun 20 15:41:08 2012 New Revision: 1352165 URL: http://svn.apache.org/viewvc?rev=1352165&view=rev Log: [HAMA-572] - minor fix to javadoc and unneded declared exceptions Modified: hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java Modified: hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java URL: http://svn.apache.org/viewvc/hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java?rev=1352165&r1=1352164&r2=1352165&view=diff ============================================================================== --- hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java (original) +++ hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java Wed Jun 20 15:41:08 2012 @@ -41,7 +41,7 @@ import org.apache.hama.bsp.message.compr public class BSPJob extends BSPJobContext { public static enum JobState { DEFINE, RUNNING - }; + } private JobState state = JobState.DEFINE; private BSPJobClient jobClient; @@ -90,7 +90,7 @@ public class BSPJob extends BSPJobContex // ///////////////////////////////////// // Setter for Job Submission // ///////////////////////////////////// - public void setWorkingDirectory(Path pDir) throws IOException { + public void setWorkingDirectory(Path pDir) { ensureState(JobState.DEFINE); Path dir = new Path(getWorkingDirectory(), pDir); conf.set(WORKING_DIR, dir.toString()); @@ -99,7 +99,7 @@ public class BSPJob extends BSPJobContex /** * Set the BSP algorithm class for the job. * - * @param cls + * @param cls the class implementing the BSP job * @throws IllegalStateException */ @SuppressWarnings("rawtypes")