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

Disable hiding field style checks in class setters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • 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

        1. HADOOP-12859-v1.patch
          0.6 kB
          Kai Zheng

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: