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