Skip to content

Commit 3ca04b5

Browse files
committed
fix the lint
1 parent f7f164f commit 3ca04b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ public void registerBeanDefinition(String beanName, BeanDefinition beanDefinitio
13271327
else { // alias pointing to non-existing bean definition
13281328
throw new BeanDefinitionStoreException(beanDefinition.getResourceDescription(), beanName,
13291329
"Cannot register bean definition for bean '" + beanName +
1330-
"' since there is already an alias for bean '" + aliasedName + "' bound.");
1330+
"' since there is already an alias for bean '" + aliasedName + "' bound.");
13311331
}
13321332
}
13331333
else {
@@ -2208,7 +2208,7 @@ else if (candidatePriority < highestPriority) {
22082208
if (highestPriorityConflictDetected) {
22092209
throw new NoUniqueBeanDefinitionException(requiredType, candidates.size(),
22102210
"Multiple beans found with the same highest priority (" + highestPriority +
2211-
") among candidates: " + candidates.keySet());
2211+
") among candidates: " + candidates.keySet());
22122212

22132213
}
22142214
return highestPriorityBeanName;
@@ -2337,7 +2337,7 @@ private void raiseNoMatchingBeanFound(
23372337

23382338
throw new NoSuchBeanDefinitionException(resolvableType,
23392339
"expected at least 1 bean which qualifies as autowire candidate. " +
2340-
"Dependency annotations: " + ObjectUtils.nullSafeToString(descriptor.getAnnotations()));
2340+
"Dependency annotations: " + ObjectUtils.nullSafeToString(descriptor.getAnnotations()));
23412341
}
23422342

23432343
/**
@@ -2815,4 +2815,4 @@ private enum PreInstantiation {
28152815
MAIN, BACKGROUND
28162816
}
28172817

2818-
}
2818+
}

0 commit comments

Comments
 (0)