mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
* CProjectSourceLocation.java: check if the searched element name is not null or empty.
This commit is contained in:
parent
cf3e26e371
commit
09b00a8cd5
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2003-10-29 Mikhail Khodjaiants
|
||||||
|
* CProjectSourceLocation.java: check if the searched element name is not null or empty.
|
||||||
|
|
||||||
2003-10-29 Mikhail Khodjaiants
|
2003-10-29 Mikhail Khodjaiants
|
||||||
Added the 'dispose' method to 'ICSourceLocation'.
|
Added the 'dispose' method to 'ICSourceLocation'.
|
||||||
* ICSourceLocation.java
|
* ICSourceLocation.java
|
||||||
|
|
|
@ -96,7 +96,7 @@ public class CProjectSourceLocation implements IProjectSourceLocation
|
||||||
public Object findSourceElement( String name ) throws CoreException
|
public Object findSourceElement( String name ) throws CoreException
|
||||||
{
|
{
|
||||||
Object result = null;
|
Object result = null;
|
||||||
if ( getProject() != null && !notFoundCacheLookup( name ) )
|
if ( !isEmpty( name ) && getProject() != null && !notFoundCacheLookup( name ) )
|
||||||
{
|
{
|
||||||
result = cacheLookup( name );
|
result = cacheLookup( name );
|
||||||
if ( result == null )
|
if ( result == null )
|
||||||
|
|
Loading…
Add table
Reference in a new issue