-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Slf4jLogShouldBeConstant removes passed exception (#103)
* fixes: #95 - Add remaining arguments at the end of the log method call - Ignore log calls where specifiers like %s and {} are combined as order might be an issue. * prefer shorter test samples, but keep consistency * strip off wildcards from regex * removed redundant null check add empty check use StringUtils isNullOrEmpty * revert String.valueOf -> .toString() add requireNonNull to satisfy intellij * also rewrite with only a single (possibly blank) argument. * Add whitespace * remove redundant check. Compiler takes care of this. --------- Co-authored-by: Peter Streef <peter.streef@twill.net> Co-authored-by: Tim te Beek <timtebeek@gmail.com>
- Loading branch information
1 parent
97b8e64
commit f5ff9e4
Showing
2 changed files
with
149 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters