From d2f28ccf41814f5b529e5c82449a2525830ebf72 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Mon, 28 Dec 2009 07:00:49 +0000 Subject: [PATCH] SJC-273 resolved minor @Configuration documentation error --- 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 50c1c33bfa..512d7c7994 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -5665,7 +5665,7 @@ The above assumes that MyServiceImpl, Dependency1AnnotationConfigApplicationContext. public static void main(String[] args) { - ApplicationContext ctx = new AnnotationConfigApplicationContext(); + AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(); ctx.register(AppConfig.class, OtherConfig.class); ctx.register(AdditionalConfig.class); ctx.refresh(); @@ -5690,7 +5690,7 @@ The above assumes that MyServiceImpl, Dependency1AnnotationConfigApplicationContext exposes the scan(String...) method to allow for the same component-scanning functionality:public static void main(String[] args) { - ApplicationContext ctx = new AnnotationConfigApplicationContext(); + AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(); ctx.scan("com.acme"); ctx.refresh(); MyService myService = ctx.getBean(MyService.class); -- GitLab