Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
32467c27
authored
Oct 05, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新RM
parent
76f1f2fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java
xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java
View file @
32467c27
...
...
@@ -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"
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment