diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index 512d7c7994..e880673180 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -5591,7 +5591,7 @@ public class CachingMovieCatalog implements MovieCatalog { class would read as follows: @Configuration public class AppConfig { @Bean - public void MyService myService() { + public MyService myService() { return new MyServiceImpl(); } }