Skip to content

Simplify collection iteration - #3314

Open
ngocnhan-tran1996 wants to merge 1 commit into
spring-cloud:mainfrom
ngocnhan-tran1996:leverage-foreach
Open

ngocnhan-tran1996 wants to merge 1 commit into
spring-cloud:mainfrom
ngocnhan-tran1996:leverage-foreach

Conversation

@ngocnhan-tran1996

Copy link
Copy Markdown
Contributor
  • Remove unnecessary stream() calls when iterating over collections to improve readability and avoid redundant stream creation.
  • Simplify collection checks and removes redundant syntax.

* Remove unnecessary `stream()` calls when iterating over
collections to improve readability and avoid redundant
stream creation.
* Simplify collection checks and removes redundant syntax.

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant