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

Collections of type Set or SortedSet generate code that does not compile #48

Merged
merged 1 commit into from
May 4, 2016

Conversation

aner-perez
Copy link
Contributor

resolves #47
useJava50 boolean parameter was added to createGetByIndexMethod(...) in CollectionMemberAndAccessorFactory but it was not added to overridden method in CollectionJ2NoIndexMemberAndAccessorFactory

…ile. useJava50 boolean parameter was added to createGetByIndexMethod(...) in CollectionMemberAndAccessorFactory but it was not added to overridden method in CollectionJ2NoIndexMemberAndAccessorFactory
@aner-perez
Copy link
Contributor Author

parent/pom.xml has a dependency on castor-maven-plugin version 3.0-SNAPSHOT which causes the build to fail. I had to change this version to 2.1 to get my local build to work but I did not commit that change.

@aner-perez
Copy link
Contributor Author

In this case having these methods annotated with @OverRide would have made these types of issues a lot more obvious but I guess it would take some considerable effort to go back and add these annotations. Might be worthwhile to add this as an enhancement or to some TODO list somewhere.

@wguttmn
Copy link
Contributor

wguttmn commented May 4, 2016

Yes, that Maven plugin is work in progress right now. Privately rolling this back is the correct solution in your case, indeed.

@wguttmn wguttmn merged commit 0d9eb26 into castor-data-binding:master May 4, 2016
@wguttmn
Copy link
Contributor

wguttmn commented May 4, 2016

Merged pull request, and added missing @OverRide annotations to this class hierarchy.

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.

Setting collection type to "set" in bindings.xml generates un-compilable code
2 participants