You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/11/18 04:32:03 UTC

[shardingsphere-elasticjob] branch master updated: Correct mistakes in JavaDoc (#1723)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new 4669c95  Correct mistakes in JavaDoc (#1723)
4669c95 is described below

commit 4669c95fd49ba1eca6571e751c39fb41232f91d9
Author: 吴伟杰 <ro...@me.com>
AuthorDate: Wed Nov 18 12:31:54 2020 +0800

    Correct mistakes in JavaDoc (#1723)
---
 .../apache/shardingsphere/elasticjob/api/JobConfiguration.java    | 4 ++--
 .../elasticjob/infra/handler/sharding/JobShardingStrategy.java    | 2 +-
 .../infra/handler/sharding/JobShardingStrategyFactory.java        | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfiguration.java b/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfiguration.java
index 6c21d55..5d5dbd8 100644
--- a/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfiguration.java
+++ b/elasticjob-api/src/main/java/org/apache/shardingsphere/elasticjob/api/JobConfiguration.java
@@ -251,13 +251,13 @@ public final class JobConfiguration {
         }
         
         /**
-         * Set job sharding sharding type.
+         * Set job sharding strategy type.
          *
          * <p>
          * Default for {@code AverageAllocationJobShardingStrategy}.
          * </p>
          *
-         * @param jobShardingStrategyType job sharding sharding type
+         * @param jobShardingStrategyType job sharding strategy type
          * @return ElasticJob configuration builder
          */
         public Builder jobShardingStrategyType(final String jobShardingStrategyType) {
diff --git a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategy.java b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategy.java
index 38adece..d3abc88 100644
--- a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategy.java
+++ b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategy.java
@@ -23,7 +23,7 @@ import java.util.List;
 import java.util.Map;
 
 /**
- * Job sharding sharding.
+ * Job sharding strategy.
  */
 public interface JobShardingStrategy extends TypedSPI {
     
diff --git a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategyFactory.java b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategyFactory.java
index 4fe65a2..ee40bf1 100644
--- a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategyFactory.java
+++ b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/handler/sharding/JobShardingStrategyFactory.java
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.elasticjob.infra.exception.JobConfigurationExce
 import org.apache.shardingsphere.elasticjob.infra.spi.ElasticJobServiceLoader;
 
 /**
- * Job sharding sharding factory.
+ * Job sharding strategy factory.
  */
 @NoArgsConstructor(access = AccessLevel.PRIVATE)
 public final class JobShardingStrategyFactory {
@@ -36,10 +36,10 @@ public final class JobShardingStrategyFactory {
     }
     
     /**
-     * Get job sharding sharding.
+     * Get job sharding strategy.
      * 
-     * @param type job sharding sharding type
-     * @return job sharding sharding
+     * @param type job sharding strategy type
+     * @return job sharding strategy
      */
     public static JobShardingStrategy getStrategy(final String type) {
         if (Strings.isNullOrEmpty(type)) {