Polishing

This commit is contained in:
Sam Brannen 2014-07-18 17:02:45 +02:00
parent 829d204663
commit 7808996d71
1 changed files with 2 additions and 2 deletions

View File

@ -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;