mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-17 13:15:44 +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++ ) {
|
for( int i = 0; i < containers.length; i++ ) {
|
||||||
ISourceContainer container = containers[i];
|
ISourceContainer container = containers[i];
|
||||||
try {
|
try {
|
||||||
|
container.init(this.getDirector());
|
||||||
Object[] objects = container.findSourceElements( name );
|
Object[] objects = container.findSourceElements( name );
|
||||||
if ( objects.length > 0 ) {
|
if ( objects.length > 0 ) {
|
||||||
if ( isFindDuplicates() && results != null ) {
|
if ( isFindDuplicates() && results != null ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue