This is an automated email from the ASF dual-hosted git repository. wuweijie 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 ba60443aea5 Refactor Grantee (#29671) ba60443aea5 is described below commit ba60443aea53f6f585932a905bd6afcb6dea8952 Author: Liang Zhang <zhangli...@apache.org> AuthorDate: Mon Jan 8 07:45:34 2024 +0800 Refactor Grantee (#29671) --- .../java/org/apache/shardingsphere/infra/metadata/user/Grantee.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/user/Grantee.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/user/Grantee.java index 7f6e1b13af1..ab30a315a89 100644 --- a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/user/Grantee.java +++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/user/Grantee.java @@ -50,10 +50,6 @@ public final class Grantee { toString = username + DELIMITER + hostname; } - public Grantee(final String username) { - this(username, HOST_WILDCARD); - } - /** * Check if the grantee is acceptable. *