carterkozak commented on a change in pull request #573:
URL: https://github.com/apache/logging-log4j2/pull/573#discussion_r713391653



##########
File path: 
log4j-core/src/main/java/org/apache/logging/log4j/core/layout/AbstractStringLayout.java
##########
@@ -88,9 +88,10 @@ public boolean requiresLocation() {
         return false;
     }
 
-    public interface Serializer {
+    public interface Serializer extends Serializer2 {

Review comment:
       Similarly, this collapses types to avoid unnecessary instanceof checks




-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to