Skip to content

Commit 40453e7

Browse files
committed
Merge branch '3.5.x'
Closes gh-48228
2 parents bd5264e + 7459fe0 commit 40453e7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/developingautoconfiguration/conditionannotations/beanconditions/MyAutoConfiguration.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
package org.springframework.boot.docs.features.developingautoconfiguration.conditionannotations.beanconditions
1818

19+
import org.springframework.boot.autoconfigure.AutoConfiguration
1920
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
2021
import org.springframework.context.annotation.Bean
21-
import org.springframework.context.annotation.Configuration
2222

23-
@Configuration(proxyBeanMethods = false)
23+
@AutoConfiguration
2424
class MyAutoConfiguration {
2525

2626
@Bean

documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/developingautoconfiguration/conditionannotations/classconditions/MyAutoConfiguration.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616

1717
package org.springframework.boot.docs.features.developingautoconfiguration.conditionannotations.classconditions
1818

19+
import org.springframework.boot.autoconfigure.AutoConfiguration
1920
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass
2021
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
2122
import org.springframework.context.annotation.Bean
2223
import org.springframework.context.annotation.Configuration
2324

24-
@Configuration(proxyBeanMethods = false)
25+
@AutoConfiguration
2526
// Some conditions ...
2627
class MyAutoConfiguration {
2728

0 commit comments

Comments
 (0)