mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+2
-2
@@ -57,9 +57,9 @@ class MergedSqlConfig {
|
||||
|
||||
|
||||
private static <E extends Enum<?>> E getEnum(AnnotationAttributes attributes, String attributeName,
|
||||
E inheritOrOverrideValue, E defaultValue) {
|
||||
E inheritedOrDefaultValue, E defaultValue) {
|
||||
E value = attributes.getEnum(attributeName);
|
||||
if (value == inheritOrOverrideValue) {
|
||||
if (value == inheritedOrDefaultValue) {
|
||||
value = defaultValue;
|
||||
}
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user