You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/04/19 05:40:11 UTC

[dolphinscheduler] 01/01: [common] Using protected in CommonUtils constructor

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

zhongjiajie pushed a commit to branch ws-common-cnst-protect
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 00ce7ce6066f58725528b6f9fa8468832d7f830b
Author: Jiajie Zhong <zh...@hotmail.com>
AuthorDate: Tue Apr 19 13:39:17 2022 +0800

    [common] Using protected in CommonUtils constructor
---
 .../main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java
index ffed1d13f4..01c9ec974d 100644
--- a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java
+++ b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java
@@ -40,7 +40,7 @@ public class CommonUtils {
 
     private static final Base64 BASE64 = new Base64();
 
-    private CommonUtils() {
+    protected CommonUtils() {
         throw new UnsupportedOperationException("Construct CommonUtils");
     }