mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
don't try and check the index enabled option if the project doesnt exist
This commit is contained in:
parent
54fc7513cb
commit
4d440deec4
1 changed files with 3 additions and 0 deletions
|
@ -321,6 +321,9 @@ public class IndexManager extends JobManager implements IIndexConstants {
|
|||
* @return
|
||||
*/
|
||||
public boolean isIndexEnabled(IProject project) {
|
||||
if( project == null || !project.exists() )
|
||||
return false;
|
||||
|
||||
Boolean indexValue = null;
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue