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)

Reply via email to