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

tuichenchuxin 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 4003331f991 Refactor TestQueryAssistedShardingEncryptAlgorithm (#29054)
4003331f991 is described below

commit 4003331f991bae40da565113648f3df537d9f5ab
Author: Liang Zhang <[email protected]>
AuthorDate: Thu Nov 16 19:15:47 2023 +0800

    Refactor TestQueryAssistedShardingEncryptAlgorithm (#29054)
---
 .../algorithm/TestQueryAssistedShardingEncryptAlgorithm.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/infra/nativetest/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java
 
b/infra/nativetest/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java
index d47fb24bf56..c443adbb07d 100644
--- 
a/infra/nativetest/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java
+++ 
b/infra/nativetest/src/test/java/org/apache/shardingsphere/infra/nativetest/jdbc/features/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java
@@ -27,7 +27,12 @@ import java.util.Properties;
 public final class TestQueryAssistedShardingEncryptAlgorithm implements 
AssistedEncryptAlgorithm {
     
     @Getter
-    private Properties props;
+    private Properties properties;
+    
+    @Override
+    public void init(final Properties props) {
+        this.properties = props;
+    }
     
     @Override
     public String encrypt(final Object plainValue, final EncryptContext 
encryptContext) {
@@ -38,9 +43,4 @@ public final class TestQueryAssistedShardingEncryptAlgorithm 
implements Assisted
     public String getType() {
         return "assistedTest";
     }
-    
-    @Override
-    public void init(final Properties props) {
-        this.props = props;
-    }
 }

Reply via email to