Jon Bringhurst created SAMZA-2680:
-------------------------------------

             Summary: Remove wildcard import
                 Key: SAMZA-2680
                 URL: https://issues.apache.org/jira/browse/SAMZA-2680
             Project: Samza
          Issue Type: Improvement
            Reporter: Jon Bringhurst


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:

{noformat}
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;
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to