[ https://issues.apache.org/jira/browse/HDDS-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharat Viswanadham updated HDDS-3407: ------------------------------------- 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. was: 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 cannot be passed and see if we can remove Checkstyle warning @SuppressWarnings("parameternumber") > Reduce number of parameters in prepareKeyInfo in OMKeyRequest > ------------------------------------------------------------- > > Key: HDDS-3407 > URL: https://issues.apache.org/jira/browse/HDDS-3407 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Bharat Viswanadham > Priority: Major > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org