This is an automated email from the ASF dual-hosted git repository.
chengzhang 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 193fac9fa9e Fix sonar issue (#31136)
193fac9fa9e is described below
commit 193fac9fa9eb27be84fb8135dc1dbbd3b7ca3b7d
Author: Liang Zhang <[email protected]>
AuthorDate: Mon May 6 18:59:47 2024 +0800
Fix sonar issue (#31136)
---
.../shardingsphere/test/it/yaml/RepositoryTupleSwapperEngineIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/RepositoryTupleSwapperEngineIT.java
b/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/RepositoryTupleSwapperEngineIT.java
index 734c5f7701b..8b981a721ae 100644
---
a/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/RepositoryTupleSwapperEngineIT.java
+++
b/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/RepositoryTupleSwapperEngineIT.java
@@ -50,7 +50,7 @@ public abstract class RepositoryTupleSwapperEngineIT {
private final RepositoryTupleSwapperEngine engine;
- public RepositoryTupleSwapperEngineIT(final String yamlFileName) {
+ protected RepositoryTupleSwapperEngineIT(final String yamlFileName) {
URL url =
Thread.currentThread().getContextClassLoader().getResource(yamlFileName);
assertNotNull(url);
yamlFile = new File(url.getFile());
@@ -81,7 +81,7 @@ public abstract class RepositoryTupleSwapperEngineIT {
}
@Test
- void assertSwapToObject() throws IOException {
+ void assertSwapToYamlRuleConfiguration() throws IOException {
assertThat(getActualYamlContent(), is(getExpectedYamlContent()));
}