-
Notifications
You must be signed in to change notification settings - Fork 22
chore: java refactoring #355
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
Conversation
|
|
||
|
|
||
|
|
||
| private static final long serialVersionUID = 105046036135596L; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this value have changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is changed because previously here https://github.com/twilio/twilio-oai-generator/blob/main/src/main/java/com/twilio/oai/TwilioJavaGenerator.java#L273-L274 we were still updating the model properties (Enum properties to be exact) after calculating the serial version uid. Ideally serial version uid should be calculated on the result properties that would be added in the file. I have updated this logic order, hence change in the result.
|
[twilio-oai-generator-php] Kudos, SonarCloud Quality Gate passed! |
|
[twilio-oai-generator-java] Kudos, SonarCloud Quality Gate passed! |
|
[twilio-oai-generator-go] Kudos, SonarCloud Quality Gate passed! |
|
[twilio-oai-generator-node] Kudos, SonarCloud Quality Gate passed! |










Fixes
Added the changes for the Java Refctoring
Checklist
make test-dockerpython examples/build_twilio_go.py path/to/twilio-oai/spec/yaml path/to/twilio-goand inspect the diffmake testintwilio-gotwilio-goIf you have questions, please create a GitHub Issue in this repository.