mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 21:39:05 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user