Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3407

Reduce number of parameters in prepareKeyInfo in OMKeyRequest

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ozone Manager
    • Labels:
      None
    • Target Version/s:

      Description

      https://github.com/apache/hadoop-ozone/pull/830#discussion_r409733651

      As now we pass KeyArgs which has size and encryptionInfo, we don't need to pass these parameters seperately again. And also see if any more parameters does not need to be passed and see if we can remove Checkstyle warning @SuppressWarnings("parameternumber"). As checkstyle warns if method has more than 7 parameters.

        Attachments

          Activity

            People

            • Assignee:
              flirmnave Huang-Mu Zheng
              Reporter:
              bharat Bharat Viswanadham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: