Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-03-05 22:32:23 +0000
committerJohn Arthorne2010-03-05 22:32:23 +0000
commit9fe7fc7078564daa547dc308fff7bc5ee15d4eaa (patch)
treec0df702c26b00d50a3e9397f9b07855c3af11845 /bundles/org.eclipse.equinox.p2.repository.tools
parent6681d1baf3a6f5152768995ecca95e2238cbadd4 (diff)
downloadrt.equinox.p2-9fe7fc7078564daa547dc308fff7bc5ee15d4eaa.tar.gz
rt.equinox.p2-9fe7fc7078564daa547dc308fff7bc5ee15d4eaa.tar.xz
rt.equinox.p2-9fe7fc7078564daa547dc308fff7bc5ee15d4eaa.zip
Bug 293340 - [api][repository] Review of the repository package
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository.tools')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java
index 0954692db..aab938753 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/tools/AbstractApplication.java
@@ -235,7 +235,7 @@ public abstract class AbstractApplication {
protected boolean initDestinationRepository(IRepository<?> repository, RepositoryDescriptor descriptor) {
if (repository != null && repository.isModifiable()) {
if (descriptor.getName() != null)
- repository.setName(descriptor.getName());
+ repository.setProperty(IRepository.PROP_NAME, descriptor.getName());
if (repository instanceof ICompositeRepository<?> && !descriptor.isAppend())
((ICompositeRepository<?>) repository).removeAllChildren();
else if (repository instanceof IMetadataRepository && !descriptor.isAppend())

Back to the top