Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 15d5367e
authored
Nov 02, 2022
by
zhumeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
此处使用Integer.parseInt代替Integer.intValue减少装箱拆箱
1 parent
8c415582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
xxl-job-executor-samples/xxl-job-executor-sample-frameless/src/main/java/com/xxl/job/executor/sample/frameless/config/FrameLessXxlJobConfig.java
xxl-job-executor-samples/xxl-job-executor-sample-frameless/src/main/java/com/xxl/job/executor/sample/frameless/config/FrameLessXxlJobConfig.java
View file @
15d5367
...
...
@@ -40,9 +40,9 @@ public class FrameLessXxlJobConfig {
xxlJobExecutor
.
setAppname
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.appname"
));
xxlJobExecutor
.
setAddress
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.address"
));
xxlJobExecutor
.
setIp
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.ip"
));
xxlJobExecutor
.
setPort
(
Integer
.
valueOf
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.port"
)));
xxlJobExecutor
.
setPort
(
Integer
.
parseInt
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.port"
)));
xxlJobExecutor
.
setLogPath
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.logpath"
));
xxlJobExecutor
.
setLogRetentionDays
(
Integer
.
valueOf
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.logretentiondays"
)));
xxlJobExecutor
.
setLogRetentionDays
(
Integer
.
parseInt
(
xxlJobProp
.
getProperty
(
"xxl.job.executor.logretentiondays"
)));
// registry job bean
xxlJobExecutor
.
setXxlJobBeanList
(
Arrays
.
asList
(
new
SampleXxlJob
()));
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment