You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2023/12/13 03:12:00 UTC

[jira] [Comment Edited] (HDDS-9905) Standardize nullability annotations

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

JiangHua Zhu edited comment on HDDS-9905 at 12/13/23 3:11 AM:
--------------------------------------------------------------

 !screenshot-2.png! 
There seem to be many modules here that use "javax.annotation.Nullable". Do all of these need to be replaced?
Or is it for a specific module?


was (Author: jianghuazhu):
 !screenshot-2.png! 
There seem to be many modules here that use "javax.annotation.Nullable". Do these need to be replaced?
Or is it for a specific module?

> Standardize nullability annotations
> -----------------------------------
>
>                 Key: HDDS-9905
>                 URL: https://issues.apache.org/jira/browse/HDDS-9905
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Attila Doroszlai
>            Priority: Minor
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> Let's standardize annotations related to null values.  I propose preferring:
> {code}
> javax.annotation.Nonnull
> javax.annotation.Nullable
> {code}
> instead of:
> {code}
> org.jetbrains.annotations.NotNull
> org.jetbrains.annotations.Nullable
> {code}



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