1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

remove annoying warnings.

This commit is contained in:
Alain Magloire 2004-08-31 19:02:01 +00:00
parent 5976bb29a1
commit ac695f59eb

View file

@ -897,9 +897,8 @@ public class CModelManager implements IResourceChangeListener, ICDescriptorListe
}
if (insertedTree) {
return rootDelta;
} else {
return null;
}
return null;
}
}
@ -919,15 +918,13 @@ public class CModelManager implements IResourceChangeListener, ICDescriptorListe
} catch (CoreException ce) {
if (ce instanceof CModelException) {
throw (CModelException)ce;
} else {
if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
} else if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
Throwable e= ce.getStatus().getException();
if (e instanceof CModelException) {
throw (CModelException) e;
}
}
throw new CModelException(ce);
}
} finally {
// fire only if there were no awaiting deltas (if there were, they would come from a resource modifying operation)
// and the operation has not modified any resource