Javadoc fixes

(cherry picked from commit 465e629)
This commit is contained in:
Juergen Hoeller
2013-08-28 22:16:08 +02:00
parent c890d1e69d
commit 692908b722
2 changed files with 9 additions and 10 deletions

View File

@@ -317,8 +317,8 @@ public class ClassPathBeanDefinitionScanner extends ClassPathScanningCandidateCo
/**
* Determine whether the given new bean definition is compatible with
* the given existing bean definition.
* <p>The default implementation simply considers them as compatible
* when the bean class name matches.
* <p>The default implementation considers them as compatible when the existing
* bean definition comes from the same source or from a non-scanning source.
* @param newDefinition the new bean definition, originated from scanning
* @param existingDefinition the existing bean definition, potentially an
* explicitly defined one or a previously generated one from scanning