[ 
https://issues.apache.org/jira/browse/HDDS-14057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042201#comment-18042201
 ] 

Tsz-wo Sze commented on HDDS-14057:
-----------------------------------

bq. better tool support: ...

Below is an example:

!image-2025-12-02-05-56-38-471.png|width=730,height=259!

> 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
>         Attachments: image-2025-12-02-05-56-38-471.png
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to