Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Java: Use Java 8 map.putIfAbsent and map.computeIfAbsent #8215 #8669

Closed
wants to merge 1 commit into from
Closed

Java: Use Java 8 map.putIfAbsent and map.computeIfAbsent #8215 #8669

wants to merge 1 commit into from

Conversation

dutta14
Copy link

@dutta14 dutta14 commented Mar 18, 2018

Fixes #8215

Outline of Solution
Added putAll(), computeIfAbsent and filter where applicable.

Copy link
Member

@wkurniawan07 wkurniawan07 left a comment

Choose a reason for hiding this comment

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

@dutta14 do note that the issue at hand is never about using Stream APIs, so refrain from including that kind of change here. Only the changes you proposed in FeedbackResponseCommentSearchDocument.java and InstructorCourseInstructorAbstractAction.java are relevant here, and there are more places where it can be applied.

@wkurniawan07 wkurniawan07 added the s.Ongoing The PR is being worked on by the author(s) label Mar 18, 2018
@wkurniawan07 wkurniawan07 self-assigned this Mar 18, 2018
@wkurniawan07
Copy link
Member

@dutta14 Closing due to inactivity for a long period. Feel free to request for reopen if you're ready to resume the work here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s.Ongoing The PR is being worked on by the author(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java: Use Java 8 map.putIfAbsent and map.computeIfAbsent
2 participants