micrometer-metrics/micrometer

Remove @NullUnmarked workaround for NullAway bug on generic types

開放

#6,404 建立於 2025年6月14日

 (4 則留言) (0 個反應) (0 位負責人)Java (1,135 個分叉)batch import
help wantednullabilitypolishtype: task

倉庫指標

星標
 (4,881 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

It seems <T extends @Nullable Object> does not work well in some situations, see https://github.com/uber/NullAway/issues/1075.

Because of this bug in NullAway, we need to use @NullUnmarked and "invert" the contract unnecessarily, see here and here.

貢獻者指南