uber/NullAway

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

Open

#1 425 ouverte le 1 janv. 2026

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)Java (288 forks)batch import
cleanupgood first issue

Métriques du dépôt

Stars
 (3 462 stars)
Métriques de merge PR
 (Merge moyen 3j 23h) (14 PRs mergées en 30 j)

Description

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.

Guide contributeur