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

Chris Nauroth commented on HDFS-3851:
-------------------------------------

This patch was committed to trunk only and not branch-2.  The difference is 
going to cause merge conflicts for a few other patches soon.  This is just a 
code cleanup, so I see no harm in merging it down to branch-2.  I plan to do 
that later today.

> Make DFSOuputSteram$Packet default constructor reuse the other constructor
> --------------------------------------------------------------------------
>
>                 Key: HDFS-3851
>                 URL: https://issues.apache.org/jira/browse/HDFS-3851
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 3.0.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Trivial
>             Fix For: 3.0.0
>
>         Attachments: HDFS-3851.patch, HDFS-3851.patch
>
>
> The default constructor of DFSOuputSteram$Packet can be made more clear by 
> reusing the other constructor. Also, two members of DFSOuputSteram$Packet 
> (offsetInBlock and maxChunks) can be declared as final.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to