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
{{ message }}
Repository navigation
Commit fb7e32b
Browse filesBrowse the repository at this point in the historyBrowse files
It reads the wall clock into a java.util.Date at millisecond resolution.
SentryDateProvider already owns wall time, is configurable, stubbable in
tests and resolves finer, so there is no reason for new code to reach for
the static.
The class itself is not deprecated: its other fourteen statics are pure
conversion and formatting helpers with no clock in them.
Every caller keeps working and gets a suppression, because -Xlint:all
-Werror turns the warning into a build failure. Each suppression carries a
TODO [MAJOR] naming the replacement, since a suppressed warning is no
longer a checklist entry — and nearly all of these callers are frozen
until the next major anyway, as they stamp serialized timestamps.
0 commit comments