ppkarwasz commented on PR #175:
URL:
https://github.com/apache/logging-log4j-tools/pull/175#issuecomment-2833202635
@alan0428a,
The new Error Prone from `logging-parent` version `12.1.0` is complaining
about a return statement:
```
Warning:
/home/runner/work/logging-log4j-tools/logging-log4j-tools/log4j-docgen/src/main/java/org/apache/logging/log4j/docgen/processor/AsciiDocData.java:[185,28]
[AssignmentExpression] The use of an assignment expression can be surprising
and hard to read; consider factoring out the assignment to a separate statement.
(see https://errorprone.info/bugpattern/AssignmentExpression)
```
https://github.com/apache/logging-log4j-tools/blob/eed177142f684d3a414be7b07c776df373496913/log4j-docgen/src/main/java/org/apache/logging/log4j/docgen/processor/AsciiDocData.java#L185
Can you fix this?
--
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]