[
https://issues.apache.org/jira/browse/KAFKA-9234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206735#comment-17206735
]
Richard Fussenegger commented on KAFKA-9234:
--------------------------------------------
There are no standard Java {{@Nullable}}, {{@Nonnull}}, or {{@NotNull}}
annotations. We would need to add a dependency on something (Checker, Lombok,
JetBrains, …).
> Consider using @Nullable and @Nonnull annotations
> -------------------------------------------------
>
> Key: KAFKA-9234
> URL: https://issues.apache.org/jira/browse/KAFKA-9234
> Project: Kafka
> Issue Type: Improvement
> Components: admin, clients, consumer, KafkaConnect, producer ,
> streams, streams-test-utils
> Reporter: Matthias J. Sax
> Assignee: Manasvi Gupta
> Priority: Minor
> Labels: beginner, newbie
>
> Java7 was dropped some time ago, and we might want to consider usein Java8
> `@Nullable` and `@Nonnull` annotations for all public facing APIs instead of
> documenting it in JavaDocs only.
> This tickets should be broken down in a series of smaller PRs to keep the
> scope of each PR contained, allowing for more effective reviews.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)