summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (Ericsson)2013-01-28 16:18:22 (EST)
committerPascal Rapicault2013-01-28 20:28:26 (EST)
commita092342e091d2dd97df3a531db8497f812a941e2 (patch)
tree0350ee03c71ad76ce7ffa91028e0d417cbf815ae
parentc6120d7358aa860799a5617b529b6502682d00f6 (diff)
downloadrt.equinox.p2-a092342e091d2dd97df3a531db8497f812a941e2.zip
rt.equinox.p2-a092342e091d2dd97df3a531db8497f812a941e2.tar.gz
rt.equinox.p2-a092342e091d2dd97df3a531db8497f812a941e2.tar.bz2
Bug 399311 - [GC] The default hardcoded profile should be SELFv20130129-012826I20130129-0800
-rw-r--r--bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/Application.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/Application.java b/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/Application.java
index 9b8db90..abc5c1c 100644
--- a/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/Application.java
+++ b/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/Application.java
@@ -22,7 +22,6 @@ import org.eclipse.equinox.p2.engine.IProfileRegistry;
*/
public class Application implements IApplication {
- private static final String DEFAULT_PROFILE_ID = "SDKProfile"; //$NON-NLS-1$
private String profileId;
private IProvisioningAgent agent;
@@ -43,7 +42,7 @@ public class Application implements IApplication {
processArguments(args);
// if the user didn't give us a profile id, then use the default SDK one
if (profileId == null)
- profileId = DEFAULT_PROFILE_ID;
+ profileId = IProfileRegistry.SELF;
initializeServices();
IProfile profile = getProfile(profileId);