[ 
https://issues.apache.org/jira/browse/HDFS-16720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575909#comment-17575909
 ] 

ASF GitHub Bot commented on HDFS-16720:
---------------------------------------

ZanderXu opened a new pull request, #4709:
URL: https://github.com/apache/hadoop/pull/4709

   ### Description of PR
   During reading code in hadoop-hdfs module, I found that there is import * 
case in some classes, such as 
   ```
   // BlockPlacementPolicyDefault.java
   import java.util.*;
   ```
   
   I feel that we should import detailed class instead of *.
   




> Import detailed class instead of import * in hadoop-hdfs moulde
> ---------------------------------------------------------------
>
>                 Key: HDFS-16720
>                 URL: https://issues.apache.org/jira/browse/HDFS-16720
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>
> During reading code in hadoop-hdfs module, I found that there is import * 
> case in some classes, such asĀ 
> {code:java}
> // BlockPlacementPolicyDefault.java
> import java.util.*;{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to