Aref Khandan created HADOOP-17554:
-------------------------------------

             Summary: Make getFileChecksumInternal method more readable
                 Key: HADOOP-17554
                 URL: https://issues.apache.org/jira/browse/HADOOP-17554
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 3.2.2
            Reporter: Aref Khandan


It might be help with readability having getFileChecksumInternal method  
ecpolicy cheking

[https://github.com/apache/hadoop/blob/1a205cc3adffa568c814a5241e041b08e2fcd3eb/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java#L1845]

more explicit,

currently it is implemented inline,  which makes understanding the outcome of 
condition harder for future readers.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to