File tree 2 files changed +9
-9
lines changed
spring-test/src/test/java/org/springframework/test/context/bean/override
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -231,27 +231,27 @@ static String foo() {
231
231
232
232
public static class ConfigA {
233
233
234
- private ExampleService noQualifier ;
234
+ ExampleService noQualifier ;
235
235
236
236
@ Qualifier ("test" )
237
- private ExampleService directQualifier ;
237
+ ExampleService directQualifier ;
238
238
239
239
@ Qualifier ("different" )
240
- private ExampleService differentDirectQualifier ;
240
+ ExampleService differentDirectQualifier ;
241
241
242
242
@ CustomQualifier
243
- private ExampleService customQualifier ;
243
+ ExampleService customQualifier ;
244
244
245
245
}
246
246
247
247
public static class ConfigB {
248
248
249
- private ExampleService noQualifier ;
249
+ ExampleService noQualifier ;
250
250
251
- private ExampleService example ;
251
+ ExampleService example ;
252
252
253
253
@ Qualifier ("test" )
254
- private ExampleService directQualifier ;
254
+ ExampleService directQualifier ;
255
255
256
256
}
257
257
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ static class Case4 {
89
89
@ TestBean
90
90
private String description ;
91
91
92
- private static String description () {
92
+ static String description () {
93
93
return "overridden" ;
94
94
}
95
95
}
@@ -99,7 +99,7 @@ static class Case5 {
99
99
@ TestBean (name = "descriptionBean" )
100
100
private String description ;
101
101
102
- private static String description () {
102
+ static String description () {
103
103
return "overridden" ;
104
104
}
105
105
}
You can’t perform that action at this time.
0 commit comments