summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2013-05-21 10:00:51 (EDT)
committerPascal Rapicault2013-05-21 10:11:33 (EDT)
commit13094294f5f7300c058ba402f65466ed1c1e3bbf (patch)
treee15ea1ab6671505c936ddffd4463b314b53da6b4
parent3fdced3662c32dacd96db09a32028d2f5d86535b (diff)
downloadrt.equinox.p2-13094294f5f7300c058ba402f65466ed1c1e3bbf.zip
rt.equinox.p2-13094294f5f7300c058ba402f65466ed1c1e3bbf.tar.gz
rt.equinox.p2-13094294f5f7300c058ba402f65466ed1c1e3bbf.tar.bz2
Remove commented code
-rw-r--r--bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RemediationOperation.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RemediationOperation.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RemediationOperation.java
index 721cc2a..ab0d557 100644
--- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RemediationOperation.java
+++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RemediationOperation.java
@@ -187,7 +187,6 @@ public class RemediationOperation extends ProfileChangeOperation {
public ProvisioningJob getProvisioningJob(IProgressMonitor monitor) {
IStatus status = getResolutionResult();
- // planner.resolve();
if (status.getSeverity() != IStatus.CANCEL && status.getSeverity() != IStatus.ERROR) {
if (job.getProvisioningPlan() != null) {
ProfileModificationJob pJob = new ProfileModificationJob(getProvisioningJobName(), session, profileId, job.getProvisioningPlan(), job.getActualProvisioningContext());
@@ -212,9 +211,6 @@ public class RemediationOperation extends ProfileChangeOperation {
final ProfileChangeRequest[] requestHolder = new ProfileChangeRequest[1];
job = new RemediationResolutionJob(getResolveJobName(), session, profileId, request, getFirstPassProvisioningContext(), getSecondPassEvaluator(), noChangeRequest, new IRunnableWithProgress() {
public void run(IProgressMonitor mon) throws OperationCanceledException {
- //Weird hack to get progress reporting to do something in the install wizard....
- // if (monitor != null)
- // mon = monitor;
SubMonitor sub = SubMonitor.convert(mon, 2);
// We only check for other jobs running if this job is *not* scheduled
if (job.getState() == Job.NONE && session.hasScheduledOperationsFor(profileId)) {
@@ -269,7 +265,6 @@ public class RemediationOperation extends ProfileChangeOperation {
found = false;
}
}
-
}
private void createNotAddedRemedyDetail(IInstallableUnit iu, Remedy remedy) {