You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/11/14 21:52:00 UTC
[jira] [Assigned] (CALCITE-4285) Replace jsr305 dependency with
checkerframework and errorprone_annotations
[ https://issues.apache.org/jira/browse/CALCITE-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Sitnikov reassigned CALCITE-4285:
------------------------------------------
Assignee: (was: Vladimir Sitnikov)
> Replace jsr305 dependency with checkerframework and errorprone_annotations
> --------------------------------------------------------------------------
>
> Key: CALCITE-4285
> URL: https://issues.apache.org/jira/browse/CALCITE-4285
> Project: Calcite
> Issue Type: Sub-task
> Components: core, druid-adapter
> Affects Versions: 1.25.0
> Reporter: Vladimir Sitnikov
> Priority: Major
>
> jsr305 does not support type annotations, so it can't be used like {{List<@Nullable String>}}, and it results in duplicate {{@Nullable}} annotations on the classpath (checkerframework and jsr305)
> The solution is to use {{checkerframework}} for nullability, and {{errorprone}} annotations for dataflow-like checks (e.g. {{@CheckReturnValue}})
--
This message was sent by Atlassian Jira
(v8.3.4#803005)