Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oberlies2012-10-11 09:03:46 +0000
committerTobias Oberlies2012-10-11 09:14:00 +0000
commit215fa4de1803474efed31be0d5e8357339d0cc59 (patch)
tree4c03b499bc06df58b83f060bdfce80e71c67147f /bundles/org.eclipse.equinox.p2.metadata.repository
parent17a359869cee9cba2dfc19fcae795903cba73029 (diff)
downloadrt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.tar.gz
rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.tar.xz
rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.zip
- There has been a suggestion of how to fix non-atomic loading (i.e. implement it in a way that network problems are not silently ignored), so we may keep non-atomic loading as the default. Bug: 356561 Composite repositories ignores errors when loading children (errors are treated like missing children)
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.metadata.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java
index a1ac23620..ff4d5f28b 100644
--- a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java
+++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java
@@ -38,8 +38,7 @@ public class CompositeMetadataRepository extends AbstractMetadataRepository impl
static final public String PI_REPOSITORY_TYPE = "compositeMetadataRepository"; //$NON-NLS-1$
static final public String PROP_ATOMIC_LOADING = "p2.atomic.composite.loading"; //$NON-NLS-1$
- // by default, require that all children of a composite can be loaded; default may be changed to enforce old behavior (see bug 356561)
- static final public boolean ATOMIC_LOADING_DEFAULT = !"false".equals(Activator.getContext().getProperty("eclipse.p2.atomic.composite.loading.default")); //$NON-NLS-1$//$NON-NLS-2$;
+ static final public boolean ATOMIC_LOADING_DEFAULT = Boolean.parseBoolean(Activator.getContext().getProperty("eclipse.p2.atomic.composite.loading.default")); //$NON-NLS-1$
static final private Integer REPOSITORY_VERSION = new Integer(1);
static final public String XML_EXTENSION = ".xml"; //$NON-NLS-1$

Back to the top