You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long time ago, we used castor gen 1.3.1 and spotted an issue in the equals generation that we fixed and kept in our own version of castor-generator. Now we plan to upgrade to 1.4.1 and I checked if the issue is still there: yes it is.
Mind putting this into a pull request ? And adding a test case that allows you to replay the problem at hand would be of great benefit as well, so that it could be added to Castor's test suite.
We fixed this in 2011 on version 1.3.1. Unfortunately, I have forgotten how to reproduce the issue. Apparently equality of elements with enums seems to work properly now (1.4.1). If I find the solution, I will publish the test case.
Hello,
Long time ago, we used castor gen 1.3.1 and spotted an issue in the equals generation that we fixed and kept in our own version of castor-generator. Now we plan to upgrade to 1.4.1 and I checked if the issue is still there: yes it is.
In https://github.com/castor-data-binding/castor/blob/master/codegen/src/main/java/org/exolab/castor/builder/factory/SourceFactory.java
the block starting on line 1419:
should be replaced by
And on line 1570 right after the
block, it should be added
Hope it helps
The text was updated successfully, but these errors were encountered: