mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Make sure containers have their director initialized properly before use.
This commit is contained in:
parent
f040526748
commit
200b2b5024
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ public class MappingSourceContainer extends AbstractSourceContainer {
|
|||
for( int i = 0; i < containers.length; i++ ) {
|
||||
ISourceContainer container = containers[i];
|
||||
try {
|
||||
container.init(this.getDirector());
|
||||
Object[] objects = container.findSourceElements( name );
|
||||
if ( objects.length > 0 ) {
|
||||
if ( isFindDuplicates() && results != null ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue