ex00 commented on a change in pull request #862: Systemml 2526 Date.getTime()
can be changed to System.currentTimeMillis()
URL: https://github.com/apache/systemml/pull/862#discussion_r279170106
##########
File path: src/main/java/org/apache/sysml/api/mlcontext/MLContext.java
##########
@@ -334,7 +334,7 @@ public MLResults execute(Script script, ScriptExecutor
scriptExecutor) {
try {
executionScript = script;
- Long time = new Long((new Date()).getTime());
+ Long time = new Long(System.currentTimeMillis());
Review comment:
I suggest, better to move `time` variable to `if` block, because it uses
only for setting script name
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services