google/error-prone
Catch common Java mistakes as compile-time errors
https://skillcdn.ai/gh/google/error-proneConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
master - Commit
1a82c75 - License
Apache-2.0
Explore this repository
Searches the original text of skills and documents; display translations are not searched.
Documents
- FloggerLogString.mdOnly compile-time constants may be passed to log(String); use one of the formatting log methods with a constant format string if at all possible.docs/bugpattern/flogger/FloggerLogString.md
- FloggerLogWithCause.mdWhen using a logger as error handling, setting the exception as the cause of the log statement will provide more context in the log message.docs/bugpattern/flogger/FloggerLogWithCause.md
- FloggerRedundantIsEnabled.mdGuarding flogger log statements with an explicit log level check is redundant, since the log statement already contains the desired log level and is inexpensive to evaluate if the specified log level…docs/bugpattern/flogger/FloggerRedundantIsEnabled.md
- FloggerWithoutCause.mdFlogger uses withCause(exception) to associate Exceptions with log statements. Passing exceptions directly to log() only records the name and message, and loses the stack trace.docs/bugpattern/flogger/FloggerWithoutCause.md