server/src/main/java/org/iri_research/renkan/rest/ProjectsResource.java
changeset 135 f3957d594203
parent 134 f9716d086744
child 220 ecbb104cf3b6
--- a/server/src/main/java/org/iri_research/renkan/rest/ProjectsResource.java	Wed Apr 03 22:09:08 2013 +0200
+++ b/server/src/main/java/org/iri_research/renkan/rest/ProjectsResource.java	Wed Apr 03 23:36:05 2013 +0200
@@ -3,10 +3,10 @@
 import java.util.Arrays;
 import java.util.Date;
 import java.util.List;
-import java.util.UUID;
 
 import javax.ws.rs.Path;
 
+import org.iri_research.renkan.Constants;
 import org.iri_research.renkan.models.Project;
 import org.iri_research.renkan.repositories.IRenkanRepository;
 import org.iri_research.renkan.repositories.ProjectsRepository;
@@ -36,7 +36,7 @@
 
 	@Override
 	protected String getNewId() {
-		return UUID.randomUUID().toString();
+		return Constants.UUID_GENERATOR.generate().toString();
 	}
 
 	@Override