kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: MINOR; Close parenthesis in PartitionInfo.toString
Date Wed, 01 Jun 2016 23:49:52 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk fec24d19c -> 61e0eaefd


MINOR; Close parenthesis in PartitionInfo.toString

Trivial patch
is trivial.

Author: Magnus Reftel <magnus.reftel@skatteetaten.no>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #1458 from magnusr/feature/paren


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

Branch: refs/heads/trunk
Commit: 61e0eaefd15a8bc158424d786ca4ec25eb6b39df
Parents: fec24d1
Author: Magnus Reftel <magnus.reftel@skatteetaten.no>
Authored: Thu Jun 2 00:49:47 2016 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Thu Jun 2 00:49:47 2016 +0100

----------------------------------------------------------------------
 clients/src/main/java/org/apache/kafka/common/PartitionInfo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/61e0eaef/clients/src/main/java/org/apache/kafka/common/PartitionInfo.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/common/PartitionInfo.java b/clients/src/main/java/org/apache/kafka/common/PartitionInfo.java
index 8344990..05ad0b5 100644
--- a/clients/src/main/java/org/apache/kafka/common/PartitionInfo.java
+++ b/clients/src/main/java/org/apache/kafka/common/PartitionInfo.java
@@ -69,7 +69,7 @@ public class PartitionInfo {
 
     @Override
     public String toString() {
-        return String.format("Partition(topic = %s, partition = %d, leader = %s, replicas
= %s, isr = %s",
+        return String.format("Partition(topic = %s, partition = %d, leader = %s, replicas
= %s, isr = %s)",
                              topic,
                              partition,
                              leader == null ? "none" : leader.id(),


Mime
View raw message