From aa4e401adf63e2a143622da9d4bf0a3db80abcc3 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 22 Aug 2010 22:33:26 +0000 Subject: [PATCH] Cosmetics. --- .../internal/core/model/ReconcileWorkingCopyOperation.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ReconcileWorkingCopyOperation.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ReconcileWorkingCopyOperation.java index 4b14c8aa069..c53446fdac5 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ReconcileWorkingCopyOperation.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ReconcileWorkingCopyOperation.java @@ -30,6 +30,7 @@ public class ReconcileWorkingCopyOperation extends CModelOperation { public ReconcileWorkingCopyOperation(ICElement workingCopy, boolean forceProblemDetection) { this(workingCopy, false, forceProblemDetection); } + public ReconcileWorkingCopyOperation(ICElement workingCopy, boolean computeAST, boolean forceProblemDetection) { super(new ICElement[] {workingCopy}); fComputeAST= computeAST; @@ -68,11 +69,8 @@ public class ReconcileWorkingCopyOperation extends CModelOperation { addReconcileDelta(workingCopy, deltaBuilder.delta); } } - } - if (fMonitor != null) fMonitor.worked(2); - } finally { if (fMonitor != null) fMonitor.done(); } @@ -84,6 +82,7 @@ public class ReconcileWorkingCopyOperation extends CModelOperation { protected WorkingCopy getWorkingCopy() { return (WorkingCopy)getElementToProcess(); } + /** * @see CModelOperation#isReadOnly */ @@ -104,6 +103,4 @@ public class ReconcileWorkingCopyOperation extends CModelOperation { } return status; } - - }