You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
There are multiple different ways to measure time in the project, and it would be good to keep measurement of time consistent.
At least in SyslogRecordEventID.java, there is usage of System.currentTimeMillis, while elsewhere Instant is used.
Use case or motivation behind the feature request
Instant seems to be the prevailing method of measuring time, so it should be used across different classes to stay consistent. There might be slight differences in the way Instant and System classes provide timestamps, and it might lead to confusing errors in the future.
The text was updated successfully, but these errors were encountered:
Description
There are multiple different ways to measure time in the project, and it would be good to keep measurement of time consistent.
At least in SyslogRecordEventID.java, there is usage of System.currentTimeMillis, while elsewhere Instant is used.
Use case or motivation behind the feature request
Instant seems to be the prevailing method of measuring time, so it should be used across different classes to stay consistent. There might be slight differences in the way Instant and System classes provide timestamps, and it might lead to confusing errors in the future.
The text was updated successfully, but these errors were encountered: