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.git
The following commit(s) were added to refs/heads/master by this push:
new eae5941 Correct mismatched comments (#12221)
eae5941 is described below
commit eae5941e3832ade793bb82c1b100db81536c1373
Author: yx9o <[email protected]>
AuthorDate: Sat Sep 4 23:26:52 2021 +0800
Correct mismatched comments (#12221)
---
.../cluster/governance/registry/GovernanceWatcherFactory.java | 1 -
.../org/apache/shardingsphere/scaling/core/util/ResourceUtil.java | 6 +-----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git
a/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/governance/registry/GovernanceWatcherFactory.java
b/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/governance/registry/GovernanceWatcherFactory.java
index 8073785..ab73ee8 100644
---
a/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/governance/registry/GovernanceWatcherFactory.java
+++
b/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/governance/registry/GovernanceWatcherFactory.java
@@ -36,7 +36,6 @@ public final class GovernanceWatcherFactory {
/**
* Watch listeners.
- *
*/
public void watchListeners() {
for (GovernanceWatcher<?> each :
ShardingSphereServiceLoader.getSingletonServiceInstances(GovernanceWatcher.class))
{
diff --git
a/shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/util/ResourceUtil.java
b/shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/util/ResourceUtil.java
index 357a003..c789ef9 100644
---
a/shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/util/ResourceUtil.java
+++
b/shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/util/ResourceUtil.java
@@ -84,11 +84,7 @@ public final class ResourceUtil {
/**
* Ignore comments to read configuration from YAML.
- *
- * @return YAML configuration.
- */
- /**
- * Ignore comments to read configuration from YAML.
+ *
* @param fileName YAML file name.
* @return YAML configuration.
*/