Skip to content

Commit 0e08d37

Browse files
committed
Polish "Add CachingMetadataReaderFactoryPostProcessor earlier in context lifecyle"
See gh-14907
1 parent c1022e7 commit 0e08d37

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SharedMetadataReaderFactoryContextInitializer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public void initialize(ConfigurableApplicationContext applicationContext) {
6060

6161
@Override
6262
public int getOrder() {
63-
// Should happen before other BeanDefinitionRegistryPostProcessors are added
6463
return 0;
6564
}
6665

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/SharedMetadataReaderFactoryContextInitializerTests.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2017 the original author or authors.
2+
* Copyright 2012-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package org.springframework.boot.autoconfigure;
1718

1819
import java.util.List;
@@ -33,8 +34,9 @@
3334
import static org.assertj.core.api.Assertions.assertThat;
3435

3536
/**
36-
* @author Dave Syer
37+
* Tests for {@link SharedMetadataReaderFactoryContextInitializer}.
3738
*
39+
* @author Dave Syer
3840
*/
3941
public class SharedMetadataReaderFactoryContextInitializerTests {
4042

0 commit comments

Comments
 (0)