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

Fix for compile error seen for Eclipse #2390

Closed
greshje opened this issue Sep 5, 2024 · 1 comment · Fixed by #2396
Closed

Fix for compile error seen for Eclipse #2390

greshje opened this issue Sep 5, 2024 · 1 comment · Fixed by #2396

Comments

@greshje
Copy link
Contributor

greshje commented Sep 5, 2024

WebAPI fails to compile using Eclipse. Two errors are given around the use of generics and wild cards (e.g. <V,?>). The overloading of the initAndBuildList function for the lists and group lists gives one error in ValidatorGroupBuilder and one error in AbstractForEachValidatorBuilder.

The fix for this is simply to create an exact duplicate of the very small mehtods in each class for initAndBuildList for the group list with a more specific call signature.

@chrisknoll
Copy link
Collaborator

Can we get more detail around what exactly the error is? Something like we should add something like ? extends SomeClass to it? What is the more specific call signature you're suggesting?

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 a pull request may close this issue.

2 participants