Skip to content

Added LinkedHashMap cache type params to avoid build error#1433

Merged
realDuYuanChao merged 3 commits intoTheAlgorithms:Developmentfrom
abhijaykumar:Development
Aug 25, 2020
Merged

Added LinkedHashMap cache type params to avoid build error#1433
realDuYuanChao merged 3 commits intoTheAlgorithms:Developmentfrom
abhijaykumar:Development

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