Skip to content

Conversation

@youzipi
Copy link
Contributor

@youzipi youzipi commented Dec 8, 2022

Some Collection's size is an O(n) operation.
we should always prefer isEmpty when we what to determine if collection is empty.
Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@li-keguo li-keguo merged commit 14bc2bd into apache:master Dec 8, 2022
@li-keguo li-keguo added this to the 2.5.1 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants