You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/01/20 11:09:00 UTC

[jira] [Resolved] (HDDS-10171) Fix checkstyle:parameternumber in OzoneManagerDoubleBuffer

     [ https://issues.apache.org/jira/browse/HDDS-10171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai resolved HDDS-10171.
-------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Done

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> {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