Skip to content

Commit 6cf3afc

Browse files
author
baiyangzhuhong
committed
remove some comments
1 parent 012d7de commit 6cf3afc

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/internal/schedule/JobScheduler.java

-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public JobScheduler(final CoordinatorRegistryCenter regCenter, final ElasticJob
8383
setUpFacade = new SetUpFacade(regCenter, this.jobConfig.getJobName(), jobListeners);
8484
schedulerFacade = new SchedulerFacade(regCenter, this.jobConfig.getJobName());
8585

86-
// the single sharding scenario and specified SINGLE_SHARDING_BALANCE strategy
8786
if (1 == this.jobConfig.getShardingTotalCount()
8887
&& "SINGLE_SHARDING_BALANCE".equals(this.jobConfig.getJobShardingStrategyType())) {
8988
jobFacade = new SingleShardingJobFacade(regCenter, this.jobConfig.getJobName(), jobListeners, findTracingConfiguration().orElse(null));
@@ -105,7 +104,6 @@ public JobScheduler(final CoordinatorRegistryCenter regCenter, final String elas
105104
setUpFacade = new SetUpFacade(regCenter, this.jobConfig.getJobName(), jobListeners);
106105
schedulerFacade = new SchedulerFacade(regCenter, this.jobConfig.getJobName());
107106

108-
// the single sharding scenario and specified SINGLE_SHARDING_BALANCE strategy
109107
if (1 == this.jobConfig.getShardingTotalCount()
110108
&& "SINGLE_SHARDING_BALANCE".equals(this.jobConfig.getJobShardingStrategyType())) {
111109
jobFacade = new SingleShardingJobFacade(regCenter, this.jobConfig.getJobName(), jobListeners, findTracingConfiguration().orElse(null));

kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/internal/sharding/strategy/type/SingleShardingBalanceJobShardingStrategy.java

-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
* this is the real round robin balance job running in the job instance dimension.
3535
* </pre>
3636
*
37-
* @author hongzhu
38-
* @version V1.0
39-
* @since 2024-12-03 19:19
4037
*/
4138
public class SingleShardingBalanceJobShardingStrategy implements JobShardingStrategy {
4239

0 commit comments

Comments
 (0)