File tree Expand file tree Collapse file tree 7 files changed +7
-37
lines changed
api-boot-autoconfigure/src/main/java/org/minbox/framework/api/boot/autoconfigure/sequence
api-boot-starters/api-boot-starter-sequence
api-boot/src/main/java/org/minbox/framework/api/boot/sequence Expand file tree Collapse file tree 7 files changed +7
-37
lines changed Original file line number Diff line number Diff line change 11package org .minbox .framework .api .boot .autoconfigure .sequence ;
22
3- import org .minbox .framework .api .boot .plugin . sequence .Sequence ;
3+ import org .minbox .framework .api .boot .sequence .Sequence ;
44import org .springframework .boot .autoconfigure .condition .ConditionalOnClass ;
55import org .springframework .boot .autoconfigure .condition .ConditionalOnMissingBean ;
66import org .springframework .boot .context .properties .EnableConfigurationProperties ;
@@ -19,7 +19,7 @@ public class ApiBootSequenceAutoConfiguration {
1919 /**
2020 * 注入 "Sequence" 所需要的属性配置类
2121 */
22- private ApiBootSequenceProperties apiBootSequenceProperties ;
22+ private final ApiBootSequenceProperties apiBootSequenceProperties ;
2323
2424 public ApiBootSequenceAutoConfiguration (ApiBootSequenceProperties apiBootSequenceProperties ) {
2525 this .apiBootSequenceProperties = apiBootSequenceProperties ;
Original file line number Diff line number Diff line change 11package org .minbox .framework .api .boot .autoconfigure .sequence ;
22
3- import org .minbox .framework .api .boot .plugin .sequence .Sequence ;
3+
4+ import org .minbox .framework .api .boot .sequence .Sequence ;
45
56/**
67 * 封装{@link Sequence}的上下文
@@ -13,7 +14,7 @@ public class ApiBootSequenceContext {
1314 /**
1415 * 分布式唯一ID实例
1516 */
16- private Sequence sequence ;
17+ private final Sequence sequence ;
1718
1819 /**
1920 * 构造函数实例化{@link Sequence}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2020 <modules >
2121 <module >api-boot-plugin</module >
2222 <module >api-boot-plugin-resource-load</module >
23- <module >api-boot-plugin-sequence</module >
2423 </modules >
2524</project >
Original file line number Diff line number Diff line change 4242 <groupId >org.minbox.framework</groupId >
4343 <artifactId >api-boot-starter</artifactId >
4444 </dependency >
45- <dependency >
46- <groupId >org.minbox.framework</groupId >
47- <artifactId >api-boot-plugin-sequence</artifactId >
48- </dependency >
4945 </dependencies >
5046
5147</project >
Original file line number Diff line number Diff line change 1- package org .minbox .framework .api .boot .plugin . sequence ;
1+ package org .minbox .framework .api .boot .sequence ;
22
33import java .net .InetAddress ;
44import java .util .concurrent .ThreadLocalRandom ;
Original file line number Diff line number Diff line change 1- package org .minbox .framework .api .boot .plugin . sequence ;
1+ package org .minbox .framework .api .boot .sequence ;
22
33
44import java .sql .Timestamp ;
You can’t perform that action at this time.
0 commit comments