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

Removing complex cases from the warning related to null checks #532

Merged
merged 4 commits into from
Nov 20, 2020

Commits on Nov 16, 2020

  1. Removing complex cases from the warning related to null checks

    ### What's done:
    Null check will not trigger on the following code:
    1) if (myVar == null || otherValue == 5 && isValid) {}
    2) if (myVar != null) {
           println("not null")
       } else if (true) {
           println("Other condition")
       }
    orchestr7 committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    b3e374f View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2020

  1. Update info/guide/guide-chapter-8.md

    Co-authored-by: Peter Trifanov <peter.trifanov@mail.ru>
    orchestr7 and petertrr authored Nov 20, 2020
    Configuration menu
    Copy the full SHA
    2b7b8d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97f0b32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49b9159 View commit details
    Browse the repository at this point in the history