Skip to content

Commit 7808996

Browse files
committed
Polishing
1 parent 829d204 commit 7808996

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-test/src/main/java/org/springframework/test/context/jdbc/MergedSqlConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ class MergedSqlConfig {
5757

5858

5959
private static <E extends Enum<?>> E getEnum(AnnotationAttributes attributes, String attributeName,
60-
E inheritOrOverrideValue, E defaultValue) {
60+
E inheritedOrDefaultValue, E defaultValue) {
6161
E value = attributes.getEnum(attributeName);
62-
if (value == inheritOrOverrideValue) {
62+
if (value == inheritedOrDefaultValue) {
6363
value = defaultValue;
6464
}
6565
return value;

0 commit comments

Comments
 (0)