You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/12/07 05:56:33 UTC
[shardingsphere] branch master updated: fix example compile error (#22711)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 3b4f8409f60 fix example compile error (#22711)
3b4f8409f60 is described below
commit 3b4f8409f60ef713dbc3ea87e31494ebf1450c4b
Author: Guocheng Tang <to...@apache.org>
AuthorDate: Wed Dec 7 13:56:25 2022 +0800
fix example compile error (#22711)
---
.../example/fixture/TestQueryAssistedShardingEncryptAlgorithm.java | 1 -
.../template/jdbc/java/TestQueryAssistedShardingEncryptAlgorithm.ftl | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/examples/example-core/config-utility/src/main/java/org/apache/shardingsphere/example/fixture/TestQueryAssistedShardingEncryptAlgorithm.java b/examples/example-core/config-utility/src/main/java/org/apache/shardingsphere/example/fixture/TestQueryAssistedShardingEncryptAlgorithm.java
index 73e9165b933..55cf83bab45 100644
--- a/examples/example-core/config-utility/src/main/java/org/apache/shardingsphere/example/fixture/TestQueryAssistedShardingEncryptAlgorithm.java
+++ b/examples/example-core/config-utility/src/main/java/org/apache/shardingsphere/example/fixture/TestQueryAssistedShardingEncryptAlgorithm.java
@@ -19,7 +19,6 @@ package org.apache.shardingsphere.example.fixture;
import lombok.Getter;
import org.apache.shardingsphere.encrypt.api.encrypt.standard.StandardEncryptAlgorithm;
-import org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm;
import org.apache.shardingsphere.encrypt.spi.context.EncryptContext;
import java.util.Properties;
diff --git a/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/java/TestQueryAssistedShardingEncryptAlgorithm.ftl b/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/java/TestQueryAssistedShardingEncryptAlgorithm.ftl
index ada61e05428..f9c6ebd9cae 100644
--- a/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/java/TestQueryAssistedShardingEncryptAlgorithm.ftl
+++ b/examples/shardingsphere-example-generator/src/main/resources/template/jdbc/java/TestQueryAssistedShardingEncryptAlgorithm.ftl
@@ -20,12 +20,12 @@ package org.apache.shardingsphere.example.${package}.${framework?replace('-', '.
import lombok.Getter;
import lombok.Setter;
-import org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm;
+import org.apache.shardingsphere.encrypt.api.encrypt.standard.StandardEncryptAlgorithm;
import org.apache.shardingsphere.encrypt.spi.context.EncryptContext;
import java.util.Properties;
-public final class TestQueryAssistedShardingEncryptAlgorithm implements EncryptAlgorithm<Object, String> {
+public final class TestQueryAssistedShardingEncryptAlgorithm implements StandardEncryptAlgorithm<Object, String> {
@Getter
private Properties props;