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

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-08-22 20:57:10 +00:00
parent f775a6c4c4
commit 7b6dd4c83a

View file

@ -635,11 +635,11 @@ public abstract class CModelOperation implements IWorkspaceRunnable, IProgressMo
} }
} catch (CoreException ce) { } catch (CoreException ce) {
if (ce instanceof CModelException) { if (ce instanceof CModelException) {
throw (CModelException)ce; throw (CModelException) ce;
} else if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) { } else if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
Throwable e = ce.getStatus().getException(); Throwable e = ce.getStatus().getException();
if (e instanceof CModelException) { if (e instanceof CModelException) {
throw (CModelException)e; throw (CModelException) e;
} }
} }
throw new CModelException(ce); throw new CModelException(ce);