Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-04-13 19:33:08 -0400
committerSusan Franklin2009-04-13 19:33:08 -0400
commit4e0e8d1743ddadb172b2a26fa3b839d3b5c8e85e (patch)
treea39ad933fcdd377e73b563ef19a9aa5f932ceba8 /examples
parent9a5cd0e01ea5c3029a7945930d12689ea849bf0e (diff)
downloadrt.equinox.p2-4e0e8d1743ddadb172b2a26fa3b839d3b5c8e85e.tar.gz
rt.equinox.p2-4e0e8d1743ddadb172b2a26fa3b839d3b5c8e85e.tar.xz
rt.equinox.p2-4e0e8d1743ddadb172b2a26fa3b839d3b5c8e85e.zip
fix profile change request
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java
index 81ee3e9f0..2ade309a9 100644
--- a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate/src/org/eclipse/equinox/p2/examples/rcp/prestartupdate/P2Util.java
@@ -147,8 +147,8 @@ public class P2Util {
.toArray(new IInstallableUnit[iusWithUpdates
.size()]));
changeRequest
- .addInstallableUnits((IInstallableUnit[]) iusWithUpdates
- .toArray(new IInstallableUnit[iusWithUpdates
+ .addInstallableUnits((IInstallableUnit[]) replacementIUs
+ .toArray(new IInstallableUnit[replacementIUs
.size()]));
ProvisioningPlan plan = planner.getProvisioningPlan(
changeRequest, pc, sub.newChild(100, SubMonitor.SUPPRESS_ALL_LABELS));

Back to the top