Tsz-wo Sze created HDDS-10171:
---------------------------------
Summary: Fix checkstyle:parameternumber in OzoneManagerDoubleBuffer
Key: HDDS-10171
URL: https://issues.apache.org/jira/browse/HDDS-10171
Project: Apache Ozone
Issue Type: Sub-task
Components: OM
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
{code}
@SuppressWarnings("checkstyle:parameternumber")
private OzoneManagerDoubleBuffer(OMMetadataManager omMetadataManager,
Consumer<TermIndex> updateLastAppliedIndex,
boolean isRatisEnabled, boolean isTracingEnabled,
int maxUnFlushedTransactions,
FlushNotifier flushNotifier, S3SecretManager s3SecretManager,
String threadPrefix) {
...
}
{code}
The OzoneManagerDoubleBuffer constructor above has many parameter. We may
reduce it by passing the Builder.
We will also clean up the code, add javadoc and fix typos.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]