1
0
Fork 0
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:
Andrew Niefer 2004-06-16 17:21:51 +00:00
parent 54fc7513cb
commit 4d440deec4

View file

@ -321,6 +321,9 @@ public class IndexManager extends JobManager implements IIndexConstants {
* @return * @return
*/ */
public boolean isIndexEnabled(IProject project) { public boolean isIndexEnabled(IProject project) {
if( project == null || !project.exists() )
return false;
Boolean indexValue = null; Boolean indexValue = null;
try { try {