systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [systemml] ex00 commented on a change in pull request #862: Systemml 2526 Date.getTime() can be changed to System.currentTimeMillis()
Date Sat, 27 Apr 2019 22:18:55 GMT
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_r279170128
 
 

 ##########
 File path: src/main/java/org/apache/sysml/api/mlcontext/MLContextUtil.java
 ##########
 @@ -1255,7 +1255,7 @@ public static String getHopDAG(MLContext mlCtx, Script script, ArrayList<Integer
 			}
 			scriptExecutor.setMaintainSymbolTable(mlCtx.isMaintainSymbolTable());
 
-			Long time = new Long((new Date()).getTime());
+			Long time = new Long(System.currentTimeMillis());
 
 Review comment:
   same 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message