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

Reduce number of parameters in prepareKeyInfo in OMKeyRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Ozone Manager
    • None

    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

            flirmnave Huang-Mu Zheng
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: