Polishing
This commit is contained in:
@@ -231,27 +231,27 @@ public class OverrideMetadataTests {
|
||||
|
||||
public static class ConfigA {
|
||||
|
||||
private ExampleService noQualifier;
|
||||
ExampleService noQualifier;
|
||||
|
||||
@Qualifier("test")
|
||||
private ExampleService directQualifier;
|
||||
ExampleService directQualifier;
|
||||
|
||||
@Qualifier("different")
|
||||
private ExampleService differentDirectQualifier;
|
||||
ExampleService differentDirectQualifier;
|
||||
|
||||
@CustomQualifier
|
||||
private ExampleService customQualifier;
|
||||
ExampleService customQualifier;
|
||||
|
||||
}
|
||||
|
||||
public static class ConfigB {
|
||||
|
||||
private ExampleService noQualifier;
|
||||
ExampleService noQualifier;
|
||||
|
||||
private ExampleService example;
|
||||
ExampleService example;
|
||||
|
||||
@Qualifier("test")
|
||||
private ExampleService directQualifier;
|
||||
ExampleService directQualifier;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ class TestBeanContextCustomizerEqualityTests {
|
||||
@TestBean
|
||||
private String description;
|
||||
|
||||
private static String description() {
|
||||
static String description() {
|
||||
return "overridden";
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,7 @@ class TestBeanContextCustomizerEqualityTests {
|
||||
@TestBean(name = "descriptionBean")
|
||||
private String description;
|
||||
|
||||
private static String description() {
|
||||
static String description() {
|
||||
return "overridden";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user