--- 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