mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-02 20:49:02 +00:00
getBean(name, type) attempts type conversion if necessary (SPR-8480)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4609 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@ public class CommonAnnotationBeanPostProcessorTests {
|
||||
TestBean tb4 = new TestBean();
|
||||
bf.registerSingleton("testBean4", tb4);
|
||||
NestedTestBean tb6 = new NestedTestBean();
|
||||
bf.registerSingleton("value", new Object());
|
||||
bf.registerSingleton("value", "5");
|
||||
bf.registerSingleton("xy", tb6);
|
||||
bf.registerAlias("xy", "testBean9");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user