[
https://issues.apache.org/jira/browse/HDDS-9961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-9961:
-----------------------------------
Summary: Add static import for assertions and mocks (was: Add static
import for assertions)
> Add static import for assertions and mocks
> ------------------------------------------
>
> Key: HDDS-9961
> URL: https://issues.apache.org/jira/browse/HDDS-9961
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Reporter: Attila Doroszlai
> Priority: Major
>
> The goal of this task is to add {{import static}} for all assertions.
> Replacing:
> {code}
> -Assertions.assert<X>(...)
> +assert<X>(...)
> {code}
> makes the code more readable (shorter line, less wrapping).
> (Address one or more modules per subtasks to avoid too big patches.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]