Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-09-29 12:33:44 +0000
committerDJ Houghton2010-09-29 12:33:44 +0000
commit3576ed99fa17d935a4878d93cf88e12f75141a70 (patch)
treef50efc18d97c17a8b8bc8cc564bd9ccfa2ef180d
parent0271d178f3dbc316edf3b5b2e034c728b0a88169 (diff)
downloadrt.equinox.p2-3576ed99fa17d935a4878d93cf88e12f75141a70.tar.gz
rt.equinox.p2-3576ed99fa17d935a4878d93cf88e12f75141a70.tar.xz
rt.equinox.p2-3576ed99fa17d935a4878d93cf88e12f75141a70.zip
Bug 326497 - Child will not be removed from CompositeArtifactRepository
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java
index c726f294f..516aeab1f 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java
@@ -183,7 +183,7 @@ public class CompositeArtifactRepository extends AbstractArtifactRepository impl
// (absolute/relative) to see if it really is in the list.
URI other = childURI.isAbsolute() ? URIUtil.makeRelative(childURI, getLocation()) : URIUtil.makeAbsolute(childURI, getLocation());
if (!removed)
- childrenURIs.remove(other);
+ removed = childrenURIs.remove(other);
if (removed) {
// we removed the child from the list so remove the associated repo object as well

Back to the top