Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.minbox.framework.api.boot.autoconfigure.sequence;

import org.minbox.framework.api.boot.plugin.sequence.Sequence;
import org.minbox.framework.api.boot.sequence.Sequence;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
Expand All @@ -19,7 +19,7 @@ public class ApiBootSequenceAutoConfiguration {
/**
* 注入 "Sequence" 所需要的属性配置类
*/
private ApiBootSequenceProperties apiBootSequenceProperties;
private final ApiBootSequenceProperties apiBootSequenceProperties;

public ApiBootSequenceAutoConfiguration(ApiBootSequenceProperties apiBootSequenceProperties) {
this.apiBootSequenceProperties = apiBootSequenceProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.minbox.framework.api.boot.autoconfigure.sequence;

import org.minbox.framework.api.boot.plugin.sequence.Sequence;

import org.minbox.framework.api.boot.sequence.Sequence;

/**
* 封装{@link Sequence}的上下文
Expand All @@ -13,7 +14,7 @@ public class ApiBootSequenceContext {
/**
* 分布式唯一ID实例
*/
private Sequence sequence;
private final Sequence sequence;

/**
* 构造函数实例化{@link Sequence}
Expand Down
26 changes: 0 additions & 26 deletions api-boot-project/api-boot-plugins/api-boot-plugin-sequence/pom.xml

This file was deleted.

1 change: 0 additions & 1 deletion api-boot-project/api-boot-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
<modules>
<module>api-boot-plugin</module>
<module>api-boot-plugin-resource-load</module>
<module>api-boot-plugin-sequence</module>
</modules>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
<groupId>org.minbox.framework</groupId>
<artifactId>api-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.minbox.framework</groupId>
<artifactId>api-boot-plugin-sequence</artifactId>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.minbox.framework.api.boot.plugin.sequence;
package org.minbox.framework.api.boot.sequence;

import java.net.InetAddress;
import java.util.concurrent.ThreadLocalRandom;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.minbox.framework.api.boot.plugin.sequence;
package org.minbox.framework.api.boot.sequence;


import java.sql.Timestamp;
Expand Down