diff --git a/streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java b/streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java index bdea27bef54..d3db0877eec 100644 --- a/streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java +++ b/streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java @@ -49,7 +49,7 @@ public class Printed { * Copy constructor. * @param printed instance of {@link Printed} to copy */ - public Printed(final Printed printed) { + protected Printed(final Printed printed) { this.printWriter = printed.printWriter; this.label = printed.label; this.mapper = printed.mapper;