diff --git a/src/main/java/org/gcube/portlets/user/workspace/server/GWTWorkspaceBuilder.java b/src/main/java/org/gcube/portlets/user/workspace/server/GWTWorkspaceBuilder.java index 2da2c3d..d19338a 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/server/GWTWorkspaceBuilder.java +++ b/src/main/java/org/gcube/portlets/user/workspace/server/GWTWorkspaceBuilder.java @@ -11,6 +11,7 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; +import java.util.UUID; import java.util.concurrent.TimeUnit; import org.apache.log4j.Logger; @@ -83,7 +84,6 @@ import org.gcube.portlets.user.workspace.shared.accounting.GxtAccountingEntryTyp import org.gcube.portlets.user.workspace.shared.accounting.GxtAccountingField; import org.gcube.vomanagement.usermanagement.model.UserModel; -import com.google.gwt.user.client.Random; import com.thoughtworks.xstream.XStream; @@ -212,7 +212,7 @@ public class GWTWorkspaceBuilder { sb.append("&type="); sb.append(requestType.toString()); sb.append("&random="); - sb.append(Random.nextInt()+""+Random.nextInt()+""+Random.nextInt()); + sb.append(UUID.randomUUID().toString()); return sb.toString(); }