-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CALCITE-4199] Add nullability annotations to the methods and fields, ensure consistency with checkerframework #1929
Conversation
a11b3dd
to
7d3162d
Compare
Looks like this is currently failing but I assume that's expected? (Presumably because of missing annotations.) |
You are right, there's not enough annotations. Feel free to pick it up. |
@vlsi Unfortunately I'm in the same situation bandwidth-wise but I'll keep that in mind. |
I remember you do these things using script last time I saw ^_^ok , after some digging, this isn't scripting task. |
Just in case, I've added An interesting note is that I had to add several annotations for |
@vlsi I was curious to take a look at this and I started to tackle some more necessary annotations on my own |
The suggested behavior is It should be enough to add |
Just in case, |
138be41
to
76d72b4
Compare
Ok, now |
c2b751a
to
62c2b54
Compare
4b3b45d
to
39e3acd
Compare
c9040cd
to
2b61b9c
Compare
ef3dddd
to
cc70bcd
Compare
cc70bcd
to
17efa52
Compare
…eName non-nullable
e6121d7
to
9624c9c
Compare
CheckerFramework needs an annotated JDK, so it is not activated by default
9624c9c
to
e951549
Compare
As of now, 480 errors left in |
e951549
to
d591816
Compare
d591816
to
7cb10ba
Compare
@vlsi not sure why this is closed (is the code abonded ?). I think this will be useful and seems most agrees with this (JIRA). |
PR moved to #2268 |
https://issues.apache.org/jira/browse/CALCITE-4199
CheckerFramework needs an annotated JDK (which might be slow to download), so it is not activated by default
Third-party issues:
Corner cases:
if (queue.isEmpty()) { ... = queue.poll(); }
, and it treatspoll()
as always nullable.