fixed JavaConfig sample code (SPR-6637, SPR-6638)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2750 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2010-01-05 12:58:41 +00:00
parent c67cca48a6
commit 39ca200ba9
+1 -1
View File
@@ -5591,7 +5591,7 @@ public class CachingMovieCatalog implements MovieCatalog {
class would read as follows: <programlisting language="java">@Configuration
public class AppConfig {
@Bean
public void MyService myService() {
public MyService myService() {
return new MyServiceImpl();
}
}</programlisting></para>