Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
Description
SystemStreamPartitionGrouper uses a wildcard import. The wildcard import should be removed and replaced by specific imports. An example of what this change involves is as follows:
diff --git a/samza-api/src/main/java/org/apache/samza/container/grouper/stream/SystemStreamPartitionGrouper.java b/samza-api/src/main/java/org/apache/samza/container/grouper/stream/SystemStreamPartitionGrouper.java index 60760762c..0f4b473d1 100644 --- a/samza-api/src/main/java/org/apache/samza/container/grouper/stream/SystemStreamPartitionGrouper.java +++ b/samza-api/src/main/java/org/apache/samza/container/grouper/stream/SystemStreamPartitionGrouper.java @@ -18,8 +18,8 @@ */ package org.apache.samza.container.grouper.stream; -import java.util.*; - +import java.util.Map; +import java.util.Set; import org.apache.samza.container.TaskName; import org.apache.samza.system.SystemStreamPartition;