Commit 197e1669 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent 2225b362
......@@ -53,10 +53,10 @@ import org.springframework.core.annotation.AliasFor;
@Inherited
@SpringBootConfiguration
@EnableAutoConfiguration
@ConfigurationPropertiesScan
@ComponentScan(excludeFilters = {
@Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class),
@Filter(type = FilterType.CUSTOM, classes = AutoConfigurationExcludeFilter.class) })
@ConfigurationPropertiesScan
public @interface SpringBootApplication {
/**
......
......@@ -39,11 +39,11 @@ import org.springframework.util.StringUtils;
*/
final class ConfigurationPropertiesBeanDefinitionRegistrar {
private static final boolean KOTLIN_PRESENT = KotlinDetector.isKotlinPresent();
private ConfigurationPropertiesBeanDefinitionRegistrar() {
}
private static final boolean KOTLIN_PRESENT = KotlinDetector.isKotlinPresent();
public static void register(BeanDefinitionRegistry registry,
ConfigurableListableBeanFactory beanFactory, Class<?> type) {
String name = getName(type);
......
......@@ -33,7 +33,6 @@ import org.springframework.core.annotation.AliasFor;
*
* @author Madhura Bhave
* @since 2.2.0
* @see ConfigurationPropertiesScanRegistrar
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
......
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2019 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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment