Skip to content

Commit 529ca34

Browse files
chore: merge main into release [skip ci]
2 parents 147e406 + 29f741f commit 529ca34

2 files changed

Lines changed: 2 additions & 19 deletions

File tree

microsphere-spring-boot-core/src/main/java/io/microsphere/spring/boot/context/properties/ListenableConfigurationPropertiesBindHandlerAdvisor.java

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import org.springframework.boot.context.properties.bind.BindHandler;
2626
import org.springframework.boot.context.properties.bind.Bindable;
2727
import org.springframework.boot.context.properties.bind.Binder;
28-
import org.springframework.core.Ordered;
2928

3029
import java.util.List;
3130

@@ -72,9 +71,7 @@
7271
* @since 1.0.0
7372
*/
7473
public class ListenableConfigurationPropertiesBindHandlerAdvisor implements ConfigurationPropertiesBindHandlerAdvisor,
75-
BeanFactoryAware, Ordered {
76-
77-
private int order = HIGHEST_PRECEDENCE + 8;
74+
BeanFactoryAware {
7875

7976
private BeanFactory beanFactory;
8077

@@ -116,18 +113,4 @@ public BindHandler apply(BindHandler bindHandler) {
116113
public void setBeanFactory(BeanFactory beanFactory) throws BeansException {
117114
this.beanFactory = beanFactory;
118115
}
119-
120-
/**
121-
* Set the order for this {@link Ordered} component.
122-
*
123-
* @param order the order to set
124-
*/
125-
public void setOrder(int order) {
126-
this.order = order;
127-
}
128-
129-
@Override
130-
public int getOrder() {
131-
return this.order;
132-
}
133116
}

microsphere-spring-boot-core/src/test/java/io/microsphere/spring/boot/context/autoconfigure/ConfigurationPropertiesAutoConfigurationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import static org.junit.jupiter.api.Assertions.assertTrue;
3333

3434
/**
35-
* {@link ConfigurationPropertiesAutoConfiguration}
35+
* {@link ConfigurationPropertiesAutoConfiguration} Test
3636
*
3737
* @author <a href="mailto:mercyblitz@gmail.com">Mercy</a>
3838
* @see ConfigurationPropertiesAutoConfiguration

0 commit comments

Comments
 (0)