Skip to content

A-Streams: Use Streams - #3

Merged
ashmitahaldar merged 4 commits into
masterfrom
branch-A-Streams
Sep 12, 2025
Merged

A-Streams: Use Streams#3
ashmitahaldar merged 4 commits into
masterfrom
branch-A-Streams

Conversation

@ashmitahaldar

Copy link
Copy Markdown
Owner

Use the Streams feature of Java in your code, if applicable.

The findTask() method in the TaskList class currently iterates through an ArrayList to find matching tasks.

This approach could be simplified using a functional approach with Streams.

Let's modify the body of the function to use a functional stream-based approach.
While resolving merge conflicts when merging master branch into branch-A-Streams, some incorrect changes were made to TaskList.java.

These incorrect changes are breaking the implementation of MayoBot.

Let's make the necessary changes to comply with the version of TaskList in master, along with the main addition of streams.
After making changes and implementing streams wherever applicable, there are checkStyle violations.

Resolving checkStyle violations is important for CI workflow to run properly.

Let's fix the raised checkStyle violations in the code.
@ashmitahaldar
ashmitahaldar merged commit d687a8b into master Sep 12, 2025
0 of 6 checks passed
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