Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordj2011-07-21 17:52:37 +0000
committerdj2011-07-21 17:54:15 +0000
commitf7592660fae6b295848c69ec4d735c089198c490 (patch)
treea507e63d60f0aa57d25b5cbf133f0adf1cad9dca /bundles/org.eclipse.equinox.p2.reconciler.dropins
parente1fe7da49b43b01543f53e588f71c772deb1a2df (diff)
downloadrt.equinox.p2-f7592660fae6b295848c69ec4d735c089198c490.tar.gz
rt.equinox.p2-f7592660fae6b295848c69ec4d735c089198c490.tar.xz
rt.equinox.p2-f7592660fae6b295848c69ec4d735c089198c490.zip
Bug 352789 - [reconciler] Add more debug info for reconciler
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.reconciler.dropins')
-rw-r--r--bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java b/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
index e09c2597a..5fe8d471f 100644
--- a/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
+++ b/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
@@ -647,11 +647,15 @@ public class ProfileSynchronizer {
// remove from the request everything that is in the plan
for (Iterator<IInstallableUnit> iterator = plan.getRemovals().query(QueryUtil.createIUAnyQuery(), null).iterator(); iterator.hasNext();) {
IInstallableUnit iu = iterator.next();
- toRemove.remove(iu);
+ if (!toRemove.remove(iu)) {
+ Tracing.debug(PREFIX + iu + " will be removed"); //$NON-NLS-1$
+ }
}
for (Iterator<IInstallableUnit> iterator = plan.getAdditions().query(QueryUtil.createIUAnyQuery(), null).iterator(); iterator.hasNext();) {
IInstallableUnit iu = iterator.next();
- toAdd.remove(iu);
+ if (!toAdd.remove(iu)) {
+ Tracing.debug(PREFIX + iu + " will be added"); //$NON-NLS-1$
+ }
}
// Move operations are treated as doing a remove/add. The removes have already happened
// and at this point we are adding the moved IUs back at their new location. Remove the moved

Back to the top