Skip to content

Added LinkedHashMap cache type params to avoid build error #1433

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

Merged
merged 3 commits into from
Aug 25, 2020
Merged

Added LinkedHashMap cache type params to avoid build error #1433

merged 3 commits into from
Aug 25, 2020

Conversation

abhijaykumar
Copy link
Contributor

@abhijaykumar abhijaykumar commented Aug 25, 2020

Fixing the build error introduced previously in PR #1385. The type of cache new LinkedHashMap<> does not get inferred automatically on JDK8 and results in failed build https://github.com/TheAlgorithms/Java/runs/1026284704

@abhijaykumar
Copy link
Contributor Author

@shellhub Raised another PR to re-merge changes from #1429 and fix for the build error.

@realDuYuanChao realDuYuanChao merged commit dcdd17d into TheAlgorithms:Development Aug 25, 2020
@realDuYuanChao
Copy link
Member

Thanks.

@abhijaykumar
Copy link
Contributor Author

@shellhub Looks like the dev branch is still missing my changes in #1429 as they were reverted. The build issue is resolved now but the code changes will still need to be merged.

@realDuYuanChao
Copy link
Member

@shellhub Looks like the dev branch is still missing my changes in #1429 as they were reverted. The build issue is resolved now but the code changes will still need to be merged.

Hi Bro, your changes has been merged!

@abhijaykumar
Copy link
Contributor Author

@shellhub Looks good now. Thanks!

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