Skip to content

Simplify collection iteration - #3314

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

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>
@olegz olegz closed this in 78eff67 Oct 26, 2026
@olegz olegz added this to the 5.1 milestone Oct 26, 2026
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