[
https://issues.apache.org/jira/browse/HDDS-9727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-9727:
-----------------------------------
Description: {{ThrowableFunction}}, introduced in HDDS-9432, duplicates
{{CheckedFunction}} Ozone already uses. Let's replace its usage in
{{OmSnapshotManager}} and delete the duplicate code. On second look, it can
even be replaced by {{CheckedConsumer}}, since its only usage has no return
value. (was: {{ThrowableFunction}}, introduced in HDDS-9432, duplicates
{{CheckedFunction}} Ozone already uses. Let's replace its usage in
{{OmSnapshotManager}} and delete the duplicate code.)
> Replace ThrowableFunction with CheckedFunction
> ----------------------------------------------
>
> Key: HDDS-9727
> URL: https://issues.apache.org/jira/browse/HDDS-9727
> Project: Apache Ozone
> Issue Type: Improvement
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Priority: Minor
> Labels: GoodForNewContributors, good-first-issue, newbie
>
> {{ThrowableFunction}}, introduced in HDDS-9432, duplicates
> {{CheckedFunction}} Ozone already uses. Let's replace its usage in
> {{OmSnapshotManager}} and delete the duplicate code. On second look, it can
> even be replaced by {{CheckedConsumer}}, since its only usage has no return
> value.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]