You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/01/19 21:55:00 UTC
[jira] [Created] (HDDS-10171) Fix checkstyle:parameternumber in OzoneManagerDoubleBuffer
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org