From 32467c273f472e9a5fe2e8873247c3d95dab6951 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 5 Oct 2018 14:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0RM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xxl/job/admin/core/conf/XxlJobAdminConfig.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java index 34b88062..ba41d716 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java @@ -4,8 +4,6 @@ import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; -import javax.annotation.PostConstruct; - /** * xxl-job config * @@ -87,14 +85,4 @@ public class XxlJobAdminConfig implements InitializingBean{ return i18n; } - @PostConstruct - public void init() { - if(this.getLoginUsername().length()>18){ - throw new IllegalArgumentException("username length greater than 18"); - } - - if(this.getLoginPassword().length()>18){ - throw new IllegalArgumentException("password length greater than 18"); - } - } }