Polish "Add CachingMetadataReaderFactoryPostProcessor earlier in context lifecyle"

See gh-14907
pull/14934/merge
Andy Wilkinson 6 years ago
parent c1022e74cd
commit 0e08d379ae

@ -60,7 +60,6 @@ class SharedMetadataReaderFactoryContextInitializer implements
@Override
public int getOrder() {
// Should happen before other BeanDefinitionRegistryPostProcessors are added
return 0;
}

@ -1,5 +1,5 @@
/*
* Copyright 2016-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.boot.autoconfigure;
import java.util.List;
@ -33,8 +34,9 @@ import org.springframework.test.util.ReflectionTestUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Dave Syer
* Tests for {@link SharedMetadataReaderFactoryContextInitializer}.
*
* @author Dave Syer
*/
public class SharedMetadataReaderFactoryContextInitializerTests {

Loading…
Cancel
Save