diff options
author | Eike Stepper | 2011-07-25 07:25:23 +0000 |
---|---|---|
committer | Eike Stepper | 2011-07-25 07:25:23 +0000 |
commit | 348d27b8d1e5f8f6d9e8249ae166ccb497c40647 (patch) | |
tree | 1cd100f152376ea7c6e797da9fc8cc8dcfbb8025 /plugins | |
parent | fe99e69cdd1325dcd0ad55049dadca7718ddc652 (diff) | |
download | cdo-348d27b8d1e5f8f6d9e8249ae166ccb497c40647.tar.gz cdo-348d27b8d1e5f8f6d9e8249ae166ccb497c40647.tar.xz cdo-348d27b8d1e5f8f6d9e8249ae166ccb497c40647.zip |
[352561] Support client assigned CDOIDs (UUIDs)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352561
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/id/CDOIDGenerator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/id/CDOIDGenerator.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/id/CDOIDGenerator.java index 1e5f573790..93da0bc8c0 100644 --- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/id/CDOIDGenerator.java +++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/id/CDOIDGenerator.java @@ -10,6 +10,8 @@ */ package org.eclipse.emf.cdo.common.id; +import org.eclipse.net4j.util.UUIDGenerator; + import org.eclipse.emf.ecore.util.EcoreUtil; /** @@ -44,7 +46,7 @@ public interface CDOIDGenerator public CDOID generateCDOID() { byte[] bytes = new byte[16]; - EcoreUtil.generateUUID(bytes); + UUIDGenerator.DEFAULT.generate(bytes); return CDOIDUtil.createUUID(bytes); } |