Skip to content
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

Remove warning about @Nullable var args #296

Merged
merged 1 commit into from Apr 1, 2019

Commits on Apr 1, 2019

  1. Remove warning about @nullable var args

    Unfortunatelly, it is commong to have wrapper functions that take
    @nullable var args and e.g. pass them immediately to a formatting/logging
    third-party method that also takes @nullable var args safely.
    
    Because of this, erroring out on `@Nullable T args...` can cause a worse
    experience than simply letting the local array `args` be considered a
    `@Nullable` array. I am not too happy with current error reporting after
    reverting this change, but the alternative blocks too many valid method
    declarations.
    lazaroclapp committed Apr 1, 2019
    Copy the full SHA
    d0ec1e4 View commit details
    Browse the repository at this point in the history