-
Notifications
You must be signed in to change notification settings - Fork 17
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
The plugin uses deprecated guava methods #4
Comments
Hi @afdia!
What do you think? |
Sounds good to me. I guess you are talking about adding an alternative trigger such as:
|
After thinking again about the issue, you have already mentioned that there are methods in Java for equals and hashCode. By the way, do you plan to release a new version to make the fix for #5 available? Then I would be able to switch back to this plugin instead of using jaxb2-basics ;) |
Hi @afdia! |
Released xjc-guava-plugin 0.3.2 |
Hi The name wouldn't really fit anymore, but it's good that the Java API finally offers these methods to make Guava obsolete, at least for this specific use case :) Perhaps the name could be changed to xjc-hashequalstring-plugin, or something like that which reflects what it generates. |
Hi @danielwegener , BTW, the proposal of @afdia sounds honestly good also to me. Thanks for this wonderful plugin! |
Hey guys. Unfortunately I currently do not have the capacity to continue on this. To be honest, If we plan to drop guava anyway, I'd just fork this repo, refactor it to plain Java8 and release it as its own plugin and leave this one as it is (same or more permissive license would be nice though). I also do currently have no real project use for this plugin so someone with a actual need would be a better driver. I'd be happy to help out with reviews or questions but I do not feel very optimistic about having the time to actively push this further. |
The plugin uses the method Objects.toStringHelper which will be removed in June 2016 according to the Guava JavaDoc
It should probably be replaced with MoreObjects.toStringHelper
The text was updated successfully, but these errors were encountered: