You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project my-project: Compilation failure: Compilation failure:
[ERROR] Query.java:[4,27] error: [return.type.incompatible] incompatible types in return.
[ERROR] type of expression: @UnknownKeyFor String
[ERROR] method return type: @KeyForBottom String
Those are both Map-related annotations, and I have no idea what Map-related annotations are doing in my logging statement.
Haven’t found this combination in the issues or docs either.
Thanks in advance :)
The text was updated successfully, but these errors were encountered:
We're seeing the same issue on JUL logger methods. At the moment we've suppressed the keyFor check via a javac argument. Please look into this, it is somewhat preventing us from adopting NullnessChecker more widely.
P.S. We've enabled only the NullnessChecker, is keyFor entailed in Nullness checking?
Hi again,
I got the following code snippet:
This results in:
Those are both Map-related annotations, and I have no idea what Map-related annotations are doing in my logging statement.
Haven’t found this combination in the issues or docs either.
Thanks in advance :)
The text was updated successfully, but these errors were encountered: