For #8479, Fix the problem that some singleton classes construction method not private (#8508)

This commit is contained in:
郭江富 2022-06-07 15:35:03 +08:00 committed by GitHub
parent fb600be9e6
commit 9b077d4656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class AuthPluginManager {
*/
private final Map<String, AuthPluginService> authServiceMap = new HashMap<>();
public AuthPluginManager() {
private AuthPluginManager() {
initAuthServices();
}

View File

@ -41,7 +41,7 @@ public class EncryptionPluginManager {
private static final EncryptionPluginManager INSTANCE = new EncryptionPluginManager();
public EncryptionPluginManager() {
private EncryptionPluginManager() {
loadInitial();
}