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 2025/12/09 09:41:00 UTC

[jira] [Resolved] (HDDS-14057) Do not use Guava Preconditions.checkNotNull(..)

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

Attila Doroszlai resolved HDDS-14057.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> Do not use Guava Preconditions.checkNotNull(..)
> -----------------------------------------------
>
>                 Key: HDDS-14057
>                 URL: https://issues.apache.org/jira/browse/HDDS-14057
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Tsz-wo Sze
>            Priority: Major
>             Fix For: 2.2.0
>
>
> Currently, there are 496 occurrences of Guava Preconditions.checkNotNull(..).  It is better to use Java Objects.requireNonNull(..) instead.  We should file subtasks to fix them in order to avoid a huge code change.



--
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