fixed getBean signature ambiguity in tests

This commit is contained in:
Juergen Hoeller
2009-10-20 20:14:49 +00:00
parent cf580f024a
commit ee8ed4e410
3 changed files with 19 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ public abstract class AbstractBeanFactoryTests extends TestCase {
public void testGetBeanWithNullArg() {
try {
getBeanFactory().getBean(null);
getBeanFactory().getBean((String) null);
fail("Can't get null bean");
}
catch (IllegalArgumentException ex) {