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

Yongjun Zhang commented on HADOOP-11293:
----------------------------------------

HI [~cmccabe],

Thanks for the good suggestions! Can we use {{CurrentOS}} to make it shorter?  
I will preappend all the flags with {{IS_}}.

All the unrelated whitespaces are added by eclipse to separate the imports into 
different sections, which makes the code easier to read. Do you think it's ok 
not to remove them?

Thanks again!





> Factor OSType out from Shell
> ----------------------------
>
>                 Key: HADOOP-11293
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11293
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HADOOP-11293.001.patch
>
>
> Currently the code that detects the OS type is located in Shell.java. Code 
> that need to check OS type refers to Shell, even if no other stuff of Shell 
> is needed. 
> I am proposing to refactor OSType out to  its own class, so to make the 
> OSType easier to access and the dependency cleaner.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to