Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12859

Disable hiding field style checks in class setters

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      As discussed in mailing list, this will disable style checks in class setters like the following:

      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.
      

        Attachments

          Activity

            People

            • Assignee:
              drankye Kai Zheng
              Reporter:
              drankye Kai Zheng
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: