Commit dbe17e4
Fix missing @nullable on chainedCtx return type and BiFunction type parameter
chainedCtx can return null in the single-instrumentation case since it
passes the mapper result through directly, and the underlying
Instrumentation begin* methods are @nullable (null is the opt-out signal).
The BiFunction return type also needs @nullable so that mapper.apply()
is correctly typed as nullable, allowing the nullability to flow from
the underlying instrumentation through the lambda to chainedCtx's return.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 61e6320 commit dbe17e4
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments