Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Java 17: Stream.toList() #2378

Closed
iluwatar opened this issue Dec 2, 2022 · 3 comments
Closed

Java 17: Stream.toList() #2378

iluwatar opened this issue Dec 2, 2022 · 3 comments

Comments

@iluwatar
Copy link
Owner

iluwatar commented Dec 2, 2022

Since Java 16, there is now the method Stream.toList() available. This allows us to write more concise code when using streams. Good tutorial is available at https://www.baeldung.com/java-stream-to-list-collecting

Acceptance criteria

  • The repository code has been refactored to use the Stream.toList() method
@Ap284
Copy link
Contributor

Ap284 commented Dec 2, 2022

Hi, I'll collaborate for this issue.

@iluwatar iluwatar moved this from Todo to In Progress in Java Design Patterns project Dec 2, 2022
@ayushanand308
Copy link

Hey @Ap284 ,are you still working on the issue?

@Ap284
Copy link
Contributor

Ap284 commented Dec 6, 2022

Yes @ayushanand308, I am woking on build fix

Repository owner moved this from In Progress to Done in Java Design Patterns project Dec 10, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants