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/06/10 16:16:21 UTC

[shardingsphere-elastic-job-lite] branch master updated: upper case for java doc (#766)

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-elastic-job-lite.git


The following commit(s) were added to refs/heads/master by this push:
     new 42e7a2c  upper case for java doc (#766)
42e7a2c is described below

commit 42e7a2c73ec400f368907b8b37f113ead20e0225
Author: Liang Zhang <te...@163.com>
AuthorDate: Thu Jun 11 00:16:09 2020 +0800

    upper case for java doc (#766)
---
 .../lite/console/restful/config/RegistryCenterRESTfulAPI.java       | 4 ++--
 .../org/apache/shardingsphere/elasticjob/lite/api/JobScheduler.java | 2 +-
 .../elasticjob/lite/executor/AbstractElasticJobExecutor.java        | 2 +-
 .../elasticjob/lite/reg/zookeeper/ZookeeperRegistryCenter.java      | 1 +
 .../elasticjob/lite/util/config/ShardingItemParameters.java         | 2 +-
 .../java/com/dangdang/ddframe/job/example/EmbedZookeeperServer.java | 6 +++---
 shardingsphere-elastic-job-example                                  | 1 +
 7 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/elastic-job-lite-console/src/main/java/org/apache/shardingsphere/elasticjob/lite/console/restful/config/RegistryCenterRESTfulAPI.java b/elastic-job-lite-console/src/main/java/org/apache/shardingsphere/elasticjob/lite/console/restful/config/RegistryCenterRESTfulAPI.java
index 77736dd..b121f7c 100644
--- a/elastic-job-lite-console/src/main/java/org/apache/shardingsphere/elasticjob/lite/console/restful/config/RegistryCenterRESTfulAPI.java
+++ b/elastic-job-lite-console/src/main/java/org/apache/shardingsphere/elasticjob/lite/console/restful/config/RegistryCenterRESTfulAPI.java
@@ -60,7 +60,7 @@ public final class RegistryCenterRESTfulAPI {
     }
     
     /**
-     * load configuration from registry center
+     * Load configuration from registry center.
      *
      * @param request HTTP request
      * @return registry center configurations
@@ -76,7 +76,7 @@ public final class RegistryCenterRESTfulAPI {
     }
     
     /**
-     * add registry center
+     * Add registry center.
      * 
      * @param config registry center configuration
      * @return success to add or not
diff --git a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/api/JobScheduler.java b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/api/JobScheduler.java
index d01326d..b2ea86d 100644
--- a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/api/JobScheduler.java
+++ b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/api/JobScheduler.java
@@ -52,7 +52,7 @@ import java.util.Properties;
  */
 public class JobScheduler {
     
-    public static final String ELASTIC_JOB_DATA_MAP_KEY = "elasticJob";
+    private static final String ELASTIC_JOB_DATA_MAP_KEY = "elasticJob";
     
     private static final String JOB_FACADE_DATA_MAP_KEY = "jobFacade";
     
diff --git a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/executor/AbstractElasticJobExecutor.java b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/executor/AbstractElasticJobExecutor.java
index b773c4d..18ac648 100644
--- a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/executor/AbstractElasticJobExecutor.java
+++ b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/executor/AbstractElasticJobExecutor.java
@@ -90,7 +90,7 @@ public abstract class AbstractElasticJobExecutor {
     }
     
     /**
-     * execute job.
+     * Execute job.
      */
     public final void execute() {
         try {
diff --git a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/reg/zookeeper/ZookeeperRegistryCenter.java b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/reg/zookeeper/ZookeeperRegistryCenter.java
index c87da46..3b0b1d3 100644
--- a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/reg/zookeeper/ZookeeperRegistryCenter.java
+++ b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/reg/zookeeper/ZookeeperRegistryCenter.java
@@ -116,6 +116,7 @@ public final class ZookeeperRegistryCenter implements CoordinatorRegistryCenter
     }
     
     /*
+     *  // TODO
      * sleep 500ms, let cache client close first and then client, otherwise will throw exception
      * reference:https://issues.apache.org/jira/browse/CURATOR-157
      */
diff --git a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/util/config/ShardingItemParameters.java b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/util/config/ShardingItemParameters.java
index 6c67205..1c0768c 100644
--- a/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/util/config/ShardingItemParameters.java
+++ b/elastic-job-lite-core/src/main/java/org/apache/shardingsphere/elasticjob/lite/util/config/ShardingItemParameters.java
@@ -68,7 +68,7 @@ public final class ShardingItemParameters {
     }
     
     /**
-     * sharding item.
+     * Sharding item.
      */
     @AllArgsConstructor
     private static final class ShardingItem {
diff --git a/examples/elastic-job-example-embed-zk/src/main/java/com/dangdang/ddframe/job/example/EmbedZookeeperServer.java b/examples/elastic-job-example-embed-zk/src/main/java/com/dangdang/ddframe/job/example/EmbedZookeeperServer.java
index 9e11ea0..318e9a8 100644
--- a/examples/elastic-job-example-embed-zk/src/main/java/com/dangdang/ddframe/job/example/EmbedZookeeperServer.java
+++ b/examples/elastic-job-example-embed-zk/src/main/java/com/dangdang/ddframe/job/example/EmbedZookeeperServer.java
@@ -23,7 +23,7 @@ import java.io.File;
 import java.io.IOException;
 
 /**
- * embed Zookeeper.
+ * Embed ZooKeeper.
  * 
  * <p>
  *     Only used for examples
@@ -34,9 +34,9 @@ public final class EmbedZookeeperServer {
     private static TestingServer testingServer;
     
     /**
-     * embed Zookeeper.
+     * Embed ZooKeeper.
      * 
-     * @param port Zookeeper port
+     * @param port ZooKeeper port
      */
     public static void start(final int port) {
         try {
diff --git a/shardingsphere-elastic-job-example b/shardingsphere-elastic-job-example
new file mode 160000
index 0000000..a921456
--- /dev/null
+++ b/shardingsphere-elastic-job-example
@@ -0,0 +1 @@
+Subproject commit a9214568a5de24e4664e1e55bba3238d16636961