diff options
author | dj | 2011-07-21 17:52:37 +0000 |
---|---|---|
committer | dj | 2011-07-21 17:54:15 +0000 |
commit | f7592660fae6b295848c69ec4d735c089198c490 (patch) | |
tree | a507e63d60f0aa57d25b5cbf133f0adf1cad9dca | |
parent | e1fe7da49b43b01543f53e588f71c772deb1a2df (diff) | |
download | rt.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
-rw-r--r-- | bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java | 8 |
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 |