Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2008-01-11 22:07:13 +0000
committerJohn Arthorne2008-01-11 22:07:13 +0000
commit0a62cad891cb3eee1b25743dbbe183a6ddd60dc6 (patch)
tree0afdcaa54b705d35eab992971fae7127df80a4ee /bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror
parente44b8b34e81b0969fd11e066872f201318197af6 (diff)
downloadrt.equinox.p2-0a62cad891cb3eee1b25743dbbe183a6ddd60dc6.tar.gz
rt.equinox.p2-0a62cad891cb3eee1b25743dbbe183a6ddd60dc6.tar.xz
rt.equinox.p2-0a62cad891cb3eee1b25743dbbe183a6ddd60dc6.zip
Create constant for simple artifact repository type
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/MirrorApplication.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/mirror/MirrorApplication.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/MirrorApplication.java
index 984220f5c..2bbd4918b 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/MirrorApplication.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/mirror/MirrorApplication.java
@@ -65,7 +65,7 @@ public class MirrorApplication implements IApplication {
// the given repo location is not an existing repo so we have to create something
// TODO for now create a Simple repo by default.
String repositoryName = destinationLocation + " - artifacts"; //$NON-NLS-1$
- return manager.createRepository(destinationLocation, repositoryName, "org.eclipse.equinox.p2.artifact.repository.simpleRepository"); //$NON-NLS-1$
+ return manager.createRepository(destinationLocation, repositoryName, IArtifactRepositoryManager.TYPE_SIMPLE_REPOSITORY);
}
public void stop() {

Back to the top