Commit 46b442b
ref(core): Use primitive long for EventProcessorAndOrder.order (#5527)
* ref(core): Use primitive long for EventProcessorAndOrder.order
Avoid boxing by storing the order as a primitive long instead of a
boxed Long. The constructor already normalizes a null order to
System.nanoTime(), so the field never needs to represent null.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* changelog
* changelog
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent b988b37 commit 46b442b
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- sentry/src/main/java/io/sentry/internal/eventprocessor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments