diff --git a/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinEnableConfigurationPropertiesImportSelectorTests.kt b/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinEnableConfigurationPropertiesImportSelectorTests.kt index e0f091beb2b..32a7e07f67e 100644 --- a/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinEnableConfigurationPropertiesImportSelectorTests.kt +++ b/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/KotlinEnableConfigurationPropertiesImportSelectorTests.kt @@ -20,7 +20,6 @@ class KotlinEnableConfigurationPropertiesImportSelectorTests { private val beanFactory = DefaultListableBeanFactory() - @Test fun `type with default constructor should register generic bean definition`() { this.registrar.registerBeanDefinitions( @@ -45,7 +44,8 @@ class KotlinEnableConfigurationPropertiesImportSelectorTests { getAnnotationMetadata(TestConfiguration::class.java), this.beanFactory) val beanDefinition = this.beanFactory.getBeanDefinition( "baz-org.springframework.boot.context.properties.KotlinEnableConfigurationPropertiesImportSelectorTests\$BazProperties") - assertThat(beanDefinition).isExactlyInstanceOf(ConfigurationPropertiesBeanDefinition::class.java) + assertThat(beanDefinition).isExactlyInstanceOf( + ConfigurationPropertiesBeanDefinition::class.java) } @Test @@ -63,7 +63,8 @@ class KotlinEnableConfigurationPropertiesImportSelectorTests { } - @EnableConfigurationProperties(FooProperties::class, BarProperties::class, BazProperties::class, BingProperties::class) + @EnableConfigurationProperties(FooProperties::class, BarProperties::class, + BazProperties::class, BingProperties::class) class TestConfiguration @ConfigurationProperties(prefix = "foo") diff --git a/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt b/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt index 9fc4a420ff2..2648c798701 100644 --- a/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt +++ b/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt @@ -192,7 +192,7 @@ class KotlinConstructorParametersBinderTests { constructor(intValue: Int, longValue: Long) : this(intValue) } - class DefaultConstructorBean {} + class DefaultConstructorBean class ExampleNestedBean(val valueBean: ExampleValueBean)