Browse Source

MINOR: make Printed copy ctor protected

Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Bill Bejeck <bill@confluent.io>, Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3817 from dguy/printed-ctor-protected
pull/3817/merge
Damian Guy 7 years ago committed by Guozhang Wang
parent
commit
9cec4109b2
  1. 2
      streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java

2
streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java

@ -49,7 +49,7 @@ public class Printed<K, V> { @@ -49,7 +49,7 @@ public class Printed<K, V> {
* Copy constructor.
* @param printed instance of {@link Printed} to copy
*/
public Printed(final Printed<K, V> printed) {
protected Printed(final Printed<K, V> printed) {
this.printWriter = printed.printWriter;
this.label = printed.label;
this.mapper = printed.mapper;

Loading…
Cancel
Save