Browse Source

MINOR: Remove line with addAll since collection passed into constructor call. (#7807)

Reviewers: Guozhang Wang <wangguoz@gmail.com>, Sophie Blee-Goldman <sophie@confluent.io>
pull/7811/head
Bill Bejeck 5 years ago committed by GitHub
parent
commit
8968cdd809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      streams/src/main/java/org/apache/kafka/streams/kstream/internals/AbstractStream.java

1
streams/src/main/java/org/apache/kafka/streams/kstream/internals/AbstractStream.java

@ -87,7 +87,6 @@ public abstract class AbstractStream<K, V> { @@ -87,7 +87,6 @@ public abstract class AbstractStream<K, V> {
Set<String> ensureCopartitionWith(final Collection<? extends AbstractStream<K, ?>> otherStreams) {
final Set<String> allSourceNodes = new HashSet<>(sourceNodes);
allSourceNodes.addAll(sourceNodes);
for (final AbstractStream<K, ?> other: otherStreams) {
allSourceNodes.addAll(other.sourceNodes);
}

Loading…
Cancel
Save