ImportRegistry as a package-visible top-level interface which can easily be shared within the package
Issue: SPR-12128
This commit is contained in:
@@ -281,8 +281,7 @@ public class ImportAwareTests {
|
||||
|
||||
@Override
|
||||
public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
|
||||
return context.getBeanFactory().getBeanNamesForType(MetadataHolder.class,
|
||||
true, false).length == 0;
|
||||
return (context.getBeanFactory().getBeanNamesForType(MetadataHolder.class, true, false).length == 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user