Describe the enhancement requested
ErrorProne warnings have been common to functions with a similar signature as follows.
privatevoidhist(StringnoteFormat, Object... args) {
if (historicalLog != null) {
historicalLog.recordEvent(noteFormat, args);
}
}And they must be updated as follows.
@FormatMethodprivatevoidhist(@FormatStringStringnoteFormat, Object... args) {
if (historicalLog != null) {
historicalLog.recordEvent(noteFormat, args);
}
}At the moment, this would be suppressed based on the discussion here. But this must be resolved once we support JDK11+.
Component(s)
Java
Describe the enhancement requested
ErrorProne warnings have been common to functions with a similar signature as follows.
And they must be updated as follows.
At the moment, this would be suppressed based on the discussion here. But this must be resolved once we support JDK11+.
Component(s)
Java