From b118aae971950df7e928366a64af4081efb2b577 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Tue, 25 Aug 2009 05:10:42 +0000 Subject: [PATCH] s/(init|destroy)MethodName/(init|destroy)Method/ to reflect recent changes made when porting @Bean to Spring core. --- spring-framework-reference/src/beans.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index 7fbb8e66056..bf759bf44bf 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -5567,11 +5567,11 @@ public class Bar { @Configuration public class AppConfig { - @Bean(initMethodName = "init") + @Bean(initMethod = "init") public Foo foo() { return new Foo(); } - @Bean(destroyMethodName="cleanup") + @Bean(destroyMethod = "cleanup") public Bar bar() { return new Bar(); }