[ https://issues.apache.org/jira/browse/HADOOP-12663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068276#comment-15068276 ]
BELUGA BEHR commented on HADOOP-12663: -------------------------------------- I have attached another patch. I apologize, you'll have to apply the patches in order to get the final affect. How about this? Once I understand exactly what the formatting should look like (i.e., this patch is accepted), I'll create a new ticket and work on the rest. Thanks! > Remove Hard-Coded Values From FileSystem.java > --------------------------------------------- > > Key: HADOOP-12663 > URL: https://issues.apache.org/jira/browse/HADOOP-12663 > Project: Hadoop Common > Issue Type: Improvement > Components: fs > Affects Versions: 2.7.1 > Reporter: BELUGA BEHR > Priority: Trivial > Attachments: FileSystem.HADOOP-12663.0002.patch, > FileSystem.HADOOP-12663.patch > > > Within FileSystem.java, there is one instance where the global variables > "CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_KEY" and > "CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_DEFAULT" were being used, > but in all other instances, their literal values were being used. > Please find attached a patch to remove use of literal values and instead > replace them with references to the global variables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)