You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2018/06/26 20:32:31 UTC

[kafka] branch trunk updated: MINOR: Fix comment in quick union (#5244)

This is an automated email from the ASF dual-hosted git repository.

mjsax 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 b054789  MINOR: Fix comment in quick union (#5244)
b054789 is described below

commit b054789d698c2c0a6e050ef5d27804e7764bc801
Author: xinzhg <xi...@users.noreply.github.com>
AuthorDate: Tue Jun 26 13:32:24 2018 -0700

    MINOR: Fix comment in quick union (#5244)
    
    Reviewers: Bill Bejeck <bi...@confluent.io>, Matthias J. Sax <ma...@confluent.io>
---
 .../java/org/apache/kafka/streams/processor/internals/QuickUnion.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streams/src/main/java/org/apache/kafka/streams/processor/internals/QuickUnion.java b/streams/src/main/java/org/apache/kafka/streams/processor/internals/QuickUnion.java
index 47cd61d..136f1b4 100644
--- a/streams/src/main/java/org/apache/kafka/streams/processor/internals/QuickUnion.java
+++ b/streams/src/main/java/org/apache/kafka/streams/processor/internals/QuickUnion.java
@@ -42,7 +42,7 @@ public class QuickUnion<T> {
             throw new NoSuchElementException("id: " + id.toString());
 
         while (!parent.equals(current)) {
-            // do the path compression
+            // do the path splitting
             T grandparent = ids.get(parent);
             ids.put(current, grandparent);