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 explicit null checks #2744

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Commits on May 6, 2023

  1. [failing] Removed Objects.requireNonNull() checks throughout.

    This change removed all the explicit null checks using Objects.requireNonNull().
    It does not yet address the changes in tests. I am waiting for feedback from
    the project maintainers regarding their preferred strategy for changing the
    newly-failing tests.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    6445c85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a62f55b View commit details
    Browse the repository at this point in the history
  3. Removed an obsolete test.

    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    5c207d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8cd8fbb View commit details
    Browse the repository at this point in the history
  5. Traversable can tolerate a null _combine_ operator when folding right…

    …, as long as it never needs to invoke that operator.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    d7525fe View commit details
    Browse the repository at this point in the history
  6. Traversable can now tolerate a null Comparator if minBy() doesn't nee…

    …d to compare anything.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    d4e650f View commit details
    Browse the repository at this point in the history
  7. Traversable now tolerates a null combine operator, as long as it does…

    …n't need to invoke the operator.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    5f3fe30 View commit details
    Browse the repository at this point in the history
  8. Traversable now ignores the combine operator when trying to reduce() …

    …over an empty collection.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    c093e16 View commit details
    Browse the repository at this point in the history
  9. Traversables now ignore a null combine operator when reduce*() doesn'…

    …t need to invoke it on an empty collection.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    5fa7bf4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    eae1d55 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c76fdf7 View commit details
    Browse the repository at this point in the history
  12. Traversable can now tolerate a null Comparator if maxBy() doesn't nee…

    …d to compare anything.
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    865ffea View commit details
    Browse the repository at this point in the history
  13. Traversable now ignores a null combine operator when it doesn't need …

    …to invoke it during fold().
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    fe0de3c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3969840 View commit details
    Browse the repository at this point in the history
  15. Traversable now ignores a null partial function when it doesn't need …

    …to invoke it during collect().
    jbrains authored and patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    a67ae71 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    95fcd33 View commit details
    Browse the repository at this point in the history
  17. fixed CharSeqTest

    patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    d4829d7 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    819a84f View commit details
    Browse the repository at this point in the history
  19. Fixes EitherTest

    patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    f36b463 View commit details
    Browse the repository at this point in the history
  20. fixed OptionTest

    patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    9051824 View commit details
    Browse the repository at this point in the history
  21. fixed TryTest

    patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    8c6732e View commit details
    Browse the repository at this point in the history
  22. fixed ValidationTest

    patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    665a2c6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    11f66ef View commit details
    Browse the repository at this point in the history
  24. fixed FutureTest

    patrickguenther committed May 6, 2023
    Configuration menu
    Copy the full SHA
    1b6c25b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    28aa943 View commit details
    Browse the repository at this point in the history