It usually hurts performance to eagerly generate error messages with +, as you pay the cost of the string conversion whether or not the condition fails. It’s usually more efficient to use %s as a placeholder and to pass the additional variables as further arguments.
Suppress false positives by adding the suppression annotation @SuppressWarnings("FormatStringShouldUsePlaceholders") to the enclosing element.