mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
7b6dd4c83a
commit
aa4e401adf
1 changed files with 2 additions and 5 deletions
|
@ -30,6 +30,7 @@ public class ReconcileWorkingCopyOperation extends CModelOperation {
|
||||||
public ReconcileWorkingCopyOperation(ICElement workingCopy, boolean forceProblemDetection) {
|
public ReconcileWorkingCopyOperation(ICElement workingCopy, boolean forceProblemDetection) {
|
||||||
this(workingCopy, false, forceProblemDetection);
|
this(workingCopy, false, forceProblemDetection);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ReconcileWorkingCopyOperation(ICElement workingCopy, boolean computeAST, boolean forceProblemDetection) {
|
public ReconcileWorkingCopyOperation(ICElement workingCopy, boolean computeAST, boolean forceProblemDetection) {
|
||||||
super(new ICElement[] {workingCopy});
|
super(new ICElement[] {workingCopy});
|
||||||
fComputeAST= computeAST;
|
fComputeAST= computeAST;
|
||||||
|
@ -68,11 +69,8 @@ public class ReconcileWorkingCopyOperation extends CModelOperation {
|
||||||
addReconcileDelta(workingCopy, deltaBuilder.delta);
|
addReconcileDelta(workingCopy, deltaBuilder.delta);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fMonitor != null) fMonitor.worked(2);
|
if (fMonitor != null) fMonitor.worked(2);
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
if (fMonitor != null) fMonitor.done();
|
if (fMonitor != null) fMonitor.done();
|
||||||
}
|
}
|
||||||
|
@ -84,6 +82,7 @@ public class ReconcileWorkingCopyOperation extends CModelOperation {
|
||||||
protected WorkingCopy getWorkingCopy() {
|
protected WorkingCopy getWorkingCopy() {
|
||||||
return (WorkingCopy)getElementToProcess();
|
return (WorkingCopy)getElementToProcess();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see CModelOperation#isReadOnly
|
* @see CModelOperation#isReadOnly
|
||||||
*/
|
*/
|
||||||
|
@ -104,6 +103,4 @@ public class ReconcileWorkingCopyOperation extends CModelOperation {
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue