Skip to content

Avoid unnecessary use of Instant.toEpochMilli#375

Merged
ok2c merged 1 commit into
apache:masterfrom
jkmcl:time
Jun 26, 2022
Merged

Avoid unnecessary use of Instant.toEpochMilli#375
ok2c merged 1 commit into
apache:masterfrom
jkmcl:time

Conversation

@jkmcl
Copy link
Copy Markdown
Contributor

@jkmcl jkmcl commented Jun 26, 2022

Avoid unnecessary use of Instant.toEpochMilli by using Instant.compareTo
to compare Instants direclty

Avoid unnecessary use of Instant.toEpochMilli by using Instant.compareTo
to compare Instants direclty
@ok2c ok2c merged commit 518eb41 into apache:master Jun 26, 2022
@jkmcl jkmcl deleted the time branch June 30, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants