You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/09/26 19:41:00 UTC
[jira] [Created] (CALCITE-4285) Replace jsr305 dependency with
checkerframework and errorprone_annotations
Vladimir Sitnikov created CALCITE-4285:
------------------------------------------
Summary: 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
Assignee: Vladimir Sitnikov
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)