• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / NullAway / #845
93%

Build:
DEFAULT BRANCH: master
Ran 07 May 2022 07:55PM UTC
Jobs 1
Files 73
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#845

push

github-actions

web-flow
Treat Void return type as @Nullable Void (#595)

This reverts the user-visible change from https://github.com/uber/NullAway/pull/586.  We have found use cases involving generics and method overriding where requiring writing of `@Nullable Void` currently requires adding some ugly error suppressions.  We need to think through those cases more carefully before requiring `@Nullable` on `Void`.

To be clear, this restored handling of `Void` is unsound.  We treat a `Void` return type as `@Nullable Void` when checking `return` statements (so they are allowed to return `null`), but at call sites of methods with a `Void` return type, we assume the method will return a `@NonNull` value.  Also, if an overriding method has return type `Void`, we treat it as `@NonNull Void`, which leads to unsound checking of method subtyping.

4797 of 5209 relevant lines covered (92.09%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #845.1 07 May 2022 07:55PM UTC 0
92.09
Source Files on build #845
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #845
  • 4ca7d09a on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc