You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by ma...@apache.org on 2015/10/09 19:27:43 UTC

incubator-reef git commit: [REEF-823] Fix typos in VortexConfHelper and VortexMasterConf

Repository: incubator-reef
Updated Branches:
  refs/heads/master 5f238d016 -> 69d184597


[REEF-823] Fix typos in VortexConfHelper and VortexMasterConf

This fixes two constants names and their usages.

JIRA:
  [REEF-823](https://issues.apache.org/jira/browse/REEF-823)

Pull Request:
  This closes #552


Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/69d18459
Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/69d18459
Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/69d18459

Branch: refs/heads/master
Commit: 69d1845979442bfbfa3e10722b320ec0b0055506
Parents: 5f238d0
Author: Dongjoon Hyun <do...@apache.org>
Authored: Fri Oct 9 10:54:48 2015 +0900
Committer: Mariia Mykhailova <ma...@apache.org>
Committed: Fri Oct 9 10:25:49 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/reef/vortex/driver/VortexConfHelper.java     | 4 ++--
 .../java/org/apache/reef/vortex/driver/VortexMasterConf.java     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/69d18459/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexConfHelper.java
----------------------------------------------------------------------
diff --git a/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexConfHelper.java b/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexConfHelper.java
index 5c8244d..7b58f0c 100644
--- a/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexConfHelper.java
+++ b/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexConfHelper.java
@@ -33,7 +33,7 @@ public final class VortexConfHelper {
   private VortexConfHelper() {
   }
 
-  private static final int DEFAULT_NUM_OF_VORTEX_START_THERAD = 1;
+  private static final int DEFAULT_NUM_OF_VORTEX_START_THREAD = 1;
 
   /**
    * @return Configuration for Vortex job.
@@ -60,7 +60,7 @@ public final class VortexConfHelper {
         .set(VortexMasterConf.WORKER_CORES, workerCores)
         .set(VortexMasterConf.WORKER_CAPACITY, workerCapacity)
         .set(VortexMasterConf.VORTEX_START, vortexStart)
-        .set(VortexMasterConf.NUM_OF_VORTEX_START_THERAD, DEFAULT_NUM_OF_VORTEX_START_THERAD) // fixed to 1 for now
+        .set(VortexMasterConf.NUM_OF_VORTEX_START_THREAD, DEFAULT_NUM_OF_VORTEX_START_THREAD) // fixed to 1 for now
         .build();
 
     return Configurations.merge(vortexDriverConf, vortexMasterConf);

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/69d18459/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexMasterConf.java
----------------------------------------------------------------------
diff --git a/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexMasterConf.java b/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexMasterConf.java
index 054afe5..9851fd8 100644
--- a/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexMasterConf.java
+++ b/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/VortexMasterConf.java
@@ -94,7 +94,7 @@ public final class VortexMasterConf extends ConfigurationModuleBuilder {
   /**
    * Number of Vortex Start threads.
    */
-  public static final RequiredParameter<Integer> NUM_OF_VORTEX_START_THERAD = new RequiredParameter<>();
+  public static final RequiredParameter<Integer> NUM_OF_VORTEX_START_THREAD = new RequiredParameter<>();
 
   /**
    * Vortex Master configuration.
@@ -105,6 +105,6 @@ public final class VortexMasterConf extends ConfigurationModuleBuilder {
       .bindNamedParameter(WorkerCores.class, WORKER_CORES)
       .bindNamedParameter(WorkerCapacity.class, WORKER_CAPACITY)
       .bindImplementation(VortexStart.class, VORTEX_START)
-      .bindNamedParameter(NumberOfVortexStartThreads.class, NUM_OF_VORTEX_START_THERAD)
+      .bindNamedParameter(NumberOfVortexStartThreads.class, NUM_OF_VORTEX_START_THREAD)
       .build();
 }