Remove one more digit from the head of non repeatable number to prevent it going beyond long on Mac VMs
git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@3585
e3abac25-378b-4346-85de-
24260fe3988d
# this is fixed by deleting "-static" from the LDLIBS line.
CFLAGS = -O3 -funroll-loops -Winline -DNDEBUG=1
# this is fixed by deleting "-static" from the LDLIBS line.
CFLAGS = -O3 -funroll-loops -Winline -DNDEBUG=1
-LDLIBS = -lm -static
-# LDLIBS = -lm
+# LDLIBS = -lm -static
+LDLIBS = -lm
// to make sure that the resulting number fits into long value\r
String longNum = new Long(System.nanoTime()).toString();\r
return Long.parseLong(Util.getRandomNumber(100, 999)\r
// to make sure that the resulting number fits into long value\r
String longNum = new Long(System.nanoTime()).toString();\r
return Long.parseLong(Util.getRandomNumber(100, 999)\r
- + longNum.substring(3));\r
+ + longNum.substring(4));\r
}\r
\r
public static Class<Executable<?>> getClass(String taskId) {\r
}\r
\r
public static Class<Executable<?>> getClass(String taskId) {\r
try {\r
return (Class<Executable<?>>) Class.forName(className);\r
} catch (ClassNotFoundException e) {\r
try {\r
return (Class<Executable<?>>) Class.forName(className);\r
} catch (ClassNotFoundException e) {\r
- log.error("Could not parse taskId " + taskId + " Message "\r
- + e.getLocalizedMessage(), e.getCause());\r
+ log.error(\r
+ "Could not parse taskId " + taskId + " Message "\r
+ + e.getLocalizedMessage(), e.getCause());\r