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:
parent
c67cca48a6
commit
39ca200ba9
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue