Skip to content

Commit b118aae

Browse files
committed
s/(init|destroy)MethodName/(init|destroy)Method/ to reflect recent changes made when porting @bean to Spring core.
1 parent a7acea2 commit b118aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-framework-reference/src/beans.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5567,11 +5567,11 @@ public class Bar {
55675567

55685568
@Configuration
55695569
public class AppConfig {
5570-
@Bean(initMethodName = "init")
5570+
@Bean(initMethod = "init")
55715571
public Foo foo() {
55725572
return new Foo();
55735573
}
5574-
@Bean(destroyMethodName="cleanup")
5574+
@Bean(destroyMethod = "cleanup")
55755575
public Bar bar() {
55765576
return new Bar();
55775577
}

0 commit comments

Comments
 (0)