kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: make Printed copy ctor protected
Date Fri, 08 Sep 2017 21:12:03 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 2db1e4423 -> 9cec4109b


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


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/9cec4109
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/9cec4109
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/9cec4109

Branch: refs/heads/trunk
Commit: 9cec4109b236c1380f2b44caba2fbf2c8b96a828
Parents: 2db1e44
Author: Damian Guy <damian.guy@gmail.com>
Authored: Fri Sep 8 14:12:00 2017 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Fri Sep 8 14:12:00 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/kafka/streams/kstream/Printed.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/9cec4109/streams/src/main/java/org/apache/kafka/streams/kstream/Printed.java
----------------------------------------------------------------------
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 bdea27b..d3db087 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<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;


Mime
View raw message