benWize commented on a change in pull request #15648:
URL: https://github.com/apache/beam/pull/15648#discussion_r730173887
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnSignatures.java
##########
@@ -2396,6 +2396,7 @@ ErrorReporter forParameter(ParameterDescription param) {
"parameter of type %s at index %s", format(param.getType()),
param.getIndex()));
}
+ @SuppressWarnings("AnnotateFormatMethod")
Review comment:
Fixed
##########
File path:
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/renderer/PortablePipelineDotRenderer.java
##########
@@ -104,8 +102,8 @@ private void exitBlock() {
indent -= 4;
}
- @FormatMethod
- private void writeLine(@FormatString String format, Object... args) {
+ @SuppressWarnings("AnnotateFormatMethod")
+ private void writeLine(String format, Object... args) {
Review comment:
Modified
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/DoFnSignatures.java
##########
@@ -2396,6 +2396,7 @@ ErrorReporter forParameter(ParameterDescription param) {
"parameter of type %s at index %s", format(param.getType()),
param.getIndex()));
}
+ @SuppressWarnings("AnnotateFormatMethod")
Review comment:
Fixed, thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]