[ https://issues.apache.org/jira/browse/HDFS-7829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-7829: ---------------------------- Resolution: Fixed Fix Version/s: 2.8.0 Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) The latest patch looks good to me. +1. I've committed this to trunk and branch-2. Thanks for the contribution, [~tasanuma0829]! > Code clean up for LocatedBlock > ------------------------------ > > Key: HDFS-7829 > URL: https://issues.apache.org/jira/browse/HDFS-7829 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Jing Zhao > Assignee: Takanobu Asanuma > Priority: Minor > Fix For: 2.8.0 > > Attachments: HDFS-7829.1.patch, HDFS-7829.2.patch, HDFS-7829.3.patch, > HDFS-7829.4.patch > > > We can do some code cleanup for {{LocatedBlock}}, including: > # Using a simple Builder pattern to avoid multiple constructors > # Setting data fields like {{corrupt}} and {{offset}} to final -- This message was sent by Atlassian JIRA (v6.3.4#6332)