Skip to content

Commit 3c80e50

Browse files
cpovirkwmdietl
andauthored
Report all errors as [nullness]. (#194)
Co-authored-by: Werner Dietl <[email protected]>
1 parent 746e34b commit 3c80e50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/google/jspecify/nullness/NullSpecChecker.java

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ public NavigableSet<String> getSuppressWarningsPrefixes() {
6969
return prefixes;
7070
}
7171

72+
@Override
73+
protected String suppressWarningsString(String messageKey) {
74+
return "nullness";
75+
}
76+
7277
@Override
7378
public void initChecker() {
7479
super.initChecker();

0 commit comments

Comments
 (0)