mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
When initializing the generic source locations list filter out non-generic locations.
This commit is contained in:
parent
3b39a5f585
commit
beb9e0d679
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-07-24 Mikhail Khodjaiants
|
||||
When initializing the generic source locations list filter out non-generic locations.
|
||||
* SourceLookupBlock.java
|
||||
|
||||
2003-07-22 Mikhail Khodjaiants
|
||||
Check if the value that getName returns is not null.
|
||||
* CDTDebugModelPresentation.java
|
||||
|
|
|
@ -342,7 +342,7 @@ public class SourceLookupBlock
|
|||
List list = getReferencedProjects( project );
|
||||
IProject[] refs = (IProject[])list.toArray( new IProject[list.size()] );
|
||||
ICSourceLocation loc = getLocationForProject( project, locations );
|
||||
boolean checked = ( loc != null );
|
||||
boolean checked = ( loc != null && !((IProjectSourceLocation)loc).isGeneric() );
|
||||
if ( loc == null )
|
||||
loc = SourceLocationFactory.createProjectSourceLocation( project, true );
|
||||
fGeneratedSourceListField.addElement( loc );
|
||||
|
|
Loading…
Add table
Reference in a new issue