From 3938d99ddc5f9def011caad98751109532eb3ebb Mon Sep 17 00:00:00 2001 From: gmantele <gmantele@ari.uni-heidelberg.de> Date: Wed, 22 Oct 2014 11:06:03 +0200 Subject: [PATCH] [UWS] End of 'Fix synchronization bug while generating the default Job ID' (commit e6a9d52f88d633a0d44bbc66bb397ddbad8f04ad) --- src/uws/job/UWSJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uws/job/UWSJob.java b/src/uws/job/UWSJob.java index 758d46f..735558d 100644 --- a/src/uws/job/UWSJob.java +++ b/src/uws/job/UWSJob.java @@ -193,7 +193,7 @@ public class UWSJob extends SerializableUWSObject { /* VARIABLES */ /* ********* */ /** The last generated job ID. <b>It SHOULD be used ONLY by the function {@link #generateJobId()} !</b> */ - protected static String lastId = null; + protected static String lastId = System.currentTimeMillis() + "A"; /** The identifier of the job (it MUST be different from any other job).<BR /> * <i><u>Note:</u> It is assigned automatically at the job creation in any job constructor -- GitLab