ashakirin commented on a change in pull request #713:
URL: https://github.com/apache/cxf/pull/713#discussion_r516340812
##########
File path:
rt/features/logging/src/main/java/org/apache/cxf/ext/logging/MaskSensitiveHelper.java
##########
@@ -70,15 +71,19 @@ public String maskSensitiveElements(
final Message message,
final String originalLogString) {
if (replacementsXML.isEmpty() && replacementsJSON.isEmpty()
- || message == null
Review comment:
Matter of taste, for me Optional alternative is a bit compacter
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]