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 525a8d7ef5b Fix sonar issue on EncryptDALResultDecoratorTest (#37990)
525a8d7ef5b is described below
commit 525a8d7ef5b5be0680b23feb2614e634f6e54a50
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Feb 9 00:14:01 2026 +0800
Fix sonar issue on EncryptDALResultDecoratorTest (#37990)
---
.../shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
index 7f6fdbcb99d..9210d576949 100644
---
a/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
+++
b/features/encrypt/core/src/test/java/org/apache/shardingsphere/encrypt/merge/dal/EncryptDALResultDecoratorTest.java
@@ -64,7 +64,7 @@ class EncryptDALResultDecoratorTest {
private ShardingSphereDatabase database;
@BeforeEach
- public void setup() {
+ void setup() {
when(database.getRuleMetaData().findSingleRule(EncryptRule.class)).thenReturn(Optional.ofNullable(mock(EncryptRule.class)));
}