kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [kafka] branch trunk updated: KAFKA-6515; Adding toString() method to o.a.k.connect.data.Field (#4509)
Date Sat, 03 Feb 2018 21:27:07 GMT
This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f9b56d6  KAFKA-6515; Adding toString() method to o.a.k.connect.data.Field (#4509)
f9b56d6 is described below

commit f9b56d680bab86fad276d01c8421d3679a788f2b
Author: Gunnar Morling <gunnar.morling@googlemail.com>
AuthorDate: Sat Feb 3 22:27:02 2018 +0100

    KAFKA-6515; Adding toString() method to o.a.k.connect.data.Field (#4509)
---
 .../api/src/main/java/org/apache/kafka/connect/data/Field.java   | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/connect/api/src/main/java/org/apache/kafka/connect/data/Field.java b/connect/api/src/main/java/org/apache/kafka/connect/data/Field.java
index 3a8df17..b5d3f02 100644
--- a/connect/api/src/main/java/org/apache/kafka/connect/data/Field.java
+++ b/connect/api/src/main/java/org/apache/kafka/connect/data/Field.java
@@ -73,4 +73,13 @@ public class Field {
     public int hashCode() {
         return Objects.hash(name, index, schema);
     }
+
+    @Override
+    public String toString() {
+        return "Field{" +
+                "name=" + name +
+                ", index=" + index +
+                ", schema=" + schema +
+                "}";
+    }
 }

-- 
To stop receiving notification emails like this one, please contact
jgus@apache.org.

Mime
View raw message