Component registry - Fixed resolution of name-based dependencies

This commit is contained in:
Emmanuel BENOîT 2015-09-22 09:29:07 +02:00
parent dc6668e6dc
commit bc2a0c69bb

View file

@ -463,7 +463,6 @@ public class ComponentRegistry
ComponentState cs; ComponentState cs;
if ( dep.getTargetClass( ) == null ) { if ( dep.getTargetClass( ) == null ) {
cs = byName.get( dep.getTargetName( ) ); cs = byName.get( dep.getTargetName( ) );
continue;
} else { } else {
final ArrayList< ComponentState > lt = byType.get( dep.getTargetClass( ) ); final ArrayList< ComponentState > lt = byType.get( dep.getTargetClass( ) );
if ( lt == null ) { if ( lt == null ) {