You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/02 18:55:18 UTC

[jira] [Commented] (HADOOP-12859) Disable hiding field style checks in class setters

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

Hudson commented on HADOOP-12859:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9412 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9412/])
HADOOP-12859. Disable hiding field style checks in class setters. (wang: rev 480302b4ba932ff16b88081dac651f0a5c46c09b)
* hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
* hadoop-common-project/hadoop-common/CHANGES.txt


> Disable hiding field style checks in class setters
> --------------------------------------------------
>
>                 Key: HADOOP-12859
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12859
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>             Fix For: 2.9.0
>
>         Attachments: HADOOP-12859-v1.patch
>
>
> As discussed in mailing list, this will disable style checks in class setters like the following:
> {noformat}
> void setBlockLocations(LocatedBlocks blockLocations) {:42: 'blockLocations' hides a field.
> void setTimeout(int timeout) {:25: 'timeout' hides a field.
> void setLocatedBlocks(List<LocatedBlock> locatedBlocks) {:46: 'locatedBlocks' hides a field.
> void setRemaining(long remaining) {:28: 'remaining' hides a field.
> void setBytesPerCRC(int bytesPerCRC) {:29: 'bytesPerCRC' hides a field.
> void setCrcType(DataChecksum.Type crcType) {:39: 'crcType' hides a field.
> void setCrcPerBlock(long crcPerBlock) {:30: 'crcPerBlock' hides a field.
> void setRefetchBlocks(boolean refetchBlocks) {:35: 'refetchBlocks' hides a field.
> void setLastRetriedIndex(int lastRetriedIndex) {:34: 'lastRetriedIndex' hides a field.
> {noformat}



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