You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by yx...@apache.org on 2024/08/30 05:35:31 UTC

(shardingsphere) branch master updated: Fix sonar issue (#32728)

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

yx9o 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 c128b16a0a9 Fix sonar issue (#32728)
c128b16a0a9 is described below

commit c128b16a0a9711c563d2546341a5f934f6d28bd5
Author: Haoran Meng <me...@gmail.com>
AuthorDate: Fri Aug 30 13:35:25 2024 +0800

    Fix sonar issue (#32728)
---
 .../shardingsphere/mode/path/rule/item/NamedRuleItemNodePathTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mode/api/src/test/java/org/apache/shardingsphere/mode/path/rule/item/NamedRuleItemNodePathTest.java b/mode/api/src/test/java/org/apache/shardingsphere/mode/path/rule/item/NamedRuleItemNodePathTest.java
index 2987b9507d2..8270c8afdbd 100644
--- a/mode/api/src/test/java/org/apache/shardingsphere/mode/path/rule/item/NamedRuleItemNodePathTest.java
+++ b/mode/api/src/test/java/org/apache/shardingsphere/mode/path/rule/item/NamedRuleItemNodePathTest.java
@@ -62,7 +62,7 @@ class NamedRuleItemNodePathTest {
     }
     
     @Test
-    public void assertGetNameByItemPath() {
+    void assertGetNameByItemPath() {
         Optional<String> actual = converter.getNameByItemPath("/metadata/foo_db/rules/foo/tables/foo_table");
         assertTrue(actual.isPresent());
         assertThat(actual.get(), is("foo_table"));