Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2016-05-30 20:59:55 +0000
committerPascal Rapicault2016-05-30 21:04:05 +0000
commit4561fb4325bb3edf0d40dff5dfca9a474273501e (patch)
tree688e798ae27a3d3a302bae9c335b0961ac0e2042
parentc303ad400fd9e948e7e06231566cf6515b8e923c (diff)
downloadeclipse.platform.runtime-4561fb4325bb3edf0d40dff5dfca9a474273501e.tar.gz
eclipse.platform.runtime-4561fb4325bb3edf0d40dff5dfca9a474273501e.tar.xz
eclipse.platform.runtime-4561fb4325bb3edf0d40dff5dfca9a474273501e.zip
Bug 490112 - Add unique id to p2 user agent informationI20160603-1000I20160602-1000I20160601-2000I20160601-1000
Add a comment explaining how to disable UUID Change-Id: I54f6eb166a05ce377a5048c09b11f35847b18175 Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
-rw-r--r--bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
index 728f4eb63..09c044f1a 100644
--- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
@@ -751,7 +751,8 @@ public final class InternalPlatform {
Properties prop = new Properties();
prop.setProperty(PROP_UUID, uuid);
prop.setProperty("version", "1"); //$NON-NLS-1$//$NON-NLS-2$
- prop.store(os, ""); //$NON-NLS-1$
+ prop.store(os,
+ "To opt-out from using a UUID for all your eclipse instances, please change this value to 0. If you only want to opt-out for one instance, then add eclipse.uuid=0 in the config.ini. If you delete this file, a new UUID will be created"); //$NON-NLS-1$
} catch (IOException e) {
return;
}

Back to the top