uber/NullAway

Replace calls to deprecated `com.google.errorprone.CompilationTestHelper#addSourceFile` in tests

オープン

#1,425 opened on 2026/01/01

 (7 件のコメント) (1 件のリアクション) (0 人の担当者)Java (288 件のフォーク)batch import
cleanupgood first issue

Repository metrics

Stars
 (3,462 個のスター)
PR merge metrics
 (平均マージ 3d 23h) (30d で 14 merged PRs)

説明

E.g., here:

https://github.com/uber/NullAway/blob/f1c302eea74a6535bc167af2ba79cb941858c4f2/nullaway/src/test/java/com/uber/nullaway/UnannotatedTests.java#L12-L12

We should call com.google.errorprone.CompilationTestHelper#addSourceLines instead and copy the relevant source into a text block, and then delete the separate source files. We can also remove any related @SuppressWarnings("deprecation") annotations.

コントリビューターガイド