You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2019/04/12 04:42:56 UTC

[GitHub] [storm] bd2019us opened a new pull request #2995: change Date.getTime() to System.currentTimeMillis()

bd2019us opened a new pull request #2995: change Date.getTime() to System.currentTimeMillis()
URL: https://github.com/apache/storm/pull/2995
 
 
   new Date() is just a thin wrapper around System.currentTimeMillis(). Using System.currentTimeMillis() can help avoid to create a new Date object and the system can speed up.

----------------------------------------------------------------
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