SIGN IN SIGN UP

ref(core): Avoid boxing in DateUtils.nanosToDate (#5523)

* ref(core): Avoid boxing in DateUtils.nanosToDate

nanosToMillis already returns a primitive double, but the result was
stored in a boxed Double and then unboxed again via longValue(). Keep
the value primitive to drop the redundant allocation and unboxing on
this conversion, which runs whenever a SentryDate is turned into a
java.util.Date.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* changelog

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
N
Nelson Osacky committed
8330a1be3553835c8c54fa993396afea48b0ef98
Parent: a28ff12
Committed by GitHub <noreply@github.com> on 6/11/2026, 7:33:11 AM