ashakirin commented on a change in pull request #681:
URL: https://github.com/apache/cxf/pull/681#discussion_r452534027



##########
File path: 
rt/features/logging/src/main/java/org/apache/cxf/ext/logging/AbstractLoggingInterceptor.java
##########
@@ -102,8 +115,13 @@ public void createExchangeId(Message message) {
         }
     }
 
-    protected String transform(final String originalLogString) {
+    protected String transform(final Message message, final String 
originalLogString) {
         return originalLogString;
     }
 
+    protected String maskSensitiveElements(final Message message, String 
originalLogString) {
+        return Optional.of(maskSensitiveHelper)

Review comment:
       Optional makes no sense anymore, stays from time, when 
maskSensitiveHelper was instantiated only by setter and wasn't final. Removed.




----------------------------------------------------------------
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]


Reply via email to