Skip to content

Commit 070b7b6

Browse files
committed
polishing
1 parent 74f1e0e commit 070b7b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

org.springframework.context/src/main/java/org/springframework/context/annotation/ConfigurationClassBeanDefinitionReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private void loadBeanDefinitionsFromImportedResources(Map<String, Class<?>> impo
322322
}
323323
}
324324
BeanDefinitionReader reader = readerInstanceCache.get(readerClass);
325-
// TODO SPR-6310: qualify relatively pathed locations as done in AbstractContextLoader.modifyLocations
325+
// TODO SPR-6310: qualify relative path locations as done in AbstractContextLoader.modifyLocations
326326
reader.loadBeanDefinitions(resource);
327327
}
328328
}
@@ -383,7 +383,7 @@ public static boolean isFullConfigurationClass(BeanDefinition beanDef) {
383383

384384
/**
385385
* {@link RootBeanDefinition} marker subclass used to signify that a bean definition
386-
* created from a configuration class as opposed to any other configuration source.
386+
* was created from a configuration class as opposed to any other configuration source.
387387
* Used in bean overriding cases where it's necessary to determine whether the bean
388388
* definition was created externally.
389389
*/
@@ -423,7 +423,7 @@ public ConfigurationClassBeanDefinition cloneBeanDefinition() {
423423
*/
424424
private static class InvalidConfigurationImportProblem extends Problem {
425425
public InvalidConfigurationImportProblem(String className, Resource resource, AnnotationMetadata metadata) {
426-
super(String.format("%s was @Import'ed as a but is not annotated with @FeatureConfiguration or " +
426+
super(String.format("%s was @Import'ed but is not annotated with @FeatureConfiguration or " +
427427
"@Configuration nor does it declare any @Bean methods. Update the class to " +
428428
"meet one of these requirements or do not attempt to @Import it.", className),
429429
new Location(resource, metadata));

0 commit comments

Comments
 (0)