hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1352165 - /hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJob.java
Date Wed, 20 Jun 2012 15:41:09 GMT
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")



Mime
View raw message