diff --git a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptFunctionAssignmentToken.java b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptFunctionAssignmentToken.java index 3ce26ec682142..ba51b0907f716 100644 --- a/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptFunctionAssignmentToken.java +++ b/features/encrypt/core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/pojo/EncryptFunctionAssignmentToken.java @@ -70,11 +70,7 @@ private static final class FunctionAssignment { @Override public String toString() { - return String.format("%s = %s", columnName, toString(value)); - } - - private String toString(final Object value) { - return String.class == value.getClass() ? String.format("%s", value) : value.toString(); + return String.format("%s = %s", columnName, value); } } }