Skip to content

fix: use Java stream methods for filtering#4378

Closed
jasgin wants to merge 1 commit intomainfrom
use-java-stream-methods
Closed

fix: use Java stream methods for filtering#4378
jasgin wants to merge 1 commit intomainfrom
use-java-stream-methods

Conversation

@jasgin
Copy link
Contributor

@jasgin jasgin commented Nov 3, 2025

toList is not supported prior to JDK16. To prevent build failures, use Java stream methods directly.

Motivation and Context

Description

Testing

Checklist

  • For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the .changelog directory, specifying "client," "server," or both in the applies_to key.
  • For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the .changelog directory, specifying "aws-sdk-rust" in the applies_to key.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jasgin jasgin requested a review from a team as a code owner November 3, 2025 21:01
Copy link
Contributor

@aajtodd aajtodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasgin jasgin marked this pull request as draft November 3, 2025 21:12
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

A new generated diff is ready to view.

A new doc preview is ready to view.

toList is not supported pre JDK16
@jasgin jasgin force-pushed the use-java-stream-methods branch from cf3459d to 78bc6a5 Compare November 3, 2025 21:27
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

A new generated diff is ready to view.

A new doc preview is ready to view.

@jasgin jasgin closed this Nov 4, 2025
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.

2 participants