Open SerialVelocity opened 5 years ago
@SerialVelocity would you be able to put up a quick PR for this? I think it could look quite similar to https://github.com/palantir/gradle-baseline/blob/develop/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/DangerousThrowableMessageSafeArg.java
This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.
What happened?
This will have output similar to:
The same happens with exceptions (if the exception is "safe"):
What did you want to happen?
Error-prone should complain that these are invalid.