Update samples to use configuration properties scanning

Closes gh-12602
This commit is contained in:
Madhura Bhave
2019-03-21 13:15:19 -07:00
parent 8f693a0277
commit 35d7fccb33
7 changed files with 0 additions and 14 deletions

View File

@@ -21,7 +21,6 @@ import java.util.function.Consumer;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.integration.channel.DirectChannel;
@@ -42,7 +41,6 @@ public class SampleParentContextApplication {
@Configuration(proxyBeanMethods = false)
@EnableAutoConfiguration
@EnableConfigurationProperties(ServiceProperties.class)
protected static class Parent {
private final ServiceProperties serviceProperties;