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

Duo Zhang commented on HBASE-27844:
-----------------------------------

I think including the class name when using Builder is a good practise, but 
which compiler will resolve Builder to java.lang.Thread.Builder when we have a 
explict import?

> changed type names to avoid conflicts with built-in types
> ---------------------------------------------------------
>
>                 Key: HBASE-27844
>                 URL: https://issues.apache.org/jira/browse/HBASE-27844
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.5.4
>            Reporter: ruanhui
>            Assignee: ruanhui
>            Priority: Minor
>
> Some compilers will resolve Builder to java.lang.Thread.Builder instead of 
> Builder in pb and cause compilation failure. We should try to avoid conflicts 
> with built-in class names.



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

Reply via email to