Open darrenfoong opened 4 years ago
There is no need to multiply System.currentTimeMillis() by 1000 as it is already in milliseconds.
System.currentTimeMillis()
Also, it is better to use Instant, instead of performing accident-prone conversions (which appear often in the current code).
There is no need to multiply
System.currentTimeMillis()
by 1000 as it is already in milliseconds.Also, it is better to use Instant, instead of performing accident-prone conversions (which appear often in the current code).