See: https://github.com/pmd/pmd/pull/73#issuecomment-231346287
I'm not sure if this is a correct place to report, but with this change we are getting a lot of false positive
when message contains just one placeholder and we are passing parameter for that placeholder and
exception itself to be logged (which is a valid scenario). So for this statement:
LOG.warn("My message with some placeholder here: {}", valueForPlaceholder, ex);
I'm getting:
PMD Failure: <class name and line here> Rule:InvalidSlf4jMessageFormat Priority:5 Too many arguments, expected 1 argument but have 2.
That's actually a duplicate of [#1500]
Related
Issues:
#1500