Browse Source

Fixed fragile tests for @Bean method overloading

pull/623/merge
Juergen Hoeller 10 years ago
parent
commit
d2e269e697
  1. 2
      spring-context/src/test/java/org/springframework/context/annotation/BeanMethodPolymorphismTests.java

2
spring-context/src/test/java/org/springframework/context/annotation/BeanMethodPolymorphismTests.java

@ -250,7 +250,7 @@ public class BeanMethodPolymorphismTests { @@ -250,7 +250,7 @@ public class BeanMethodPolymorphismTests {
return "regular";
}
@Bean
@Bean @Lazy
String aString(Integer dependency) {
return "overloaded" + dependency;
}

Loading…
Cancel
Save