Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-09-29 08:33:44 -0400
committerDJ Houghton2010-09-29 08:33:44 -0400
commit3576ed99fa17d935a4878d93cf88e12f75141a70 (patch)
treef50efc18d97c17a8b8bc8cc564bd9ccfa2ef180d /bundles/org.eclipse.equinox.p2.artifact.repository
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
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository')
-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