Repository navigation
Conversation
abyrd
left a comment
There was a problem hiding this comment.
This looks good to me. It's always a bit of a maintenance risk having to manually update serialVersionUID anytime a class's structure changes. But of course the existing approach using the project version number doesn't really work either.
I agree. I have not experienced that this is a real problem in OTP. OTP serialization frequently fails - most of the time for good reasons. I do not think it is important to do this kind of fine grid management. We do a test on the version number, and I think that that is enough. When we remember we should probably increment the |
There is not issue for this PR. The PR provide:
serialVersionUIDin a class should change when the class change, not depend on the Maven versionnumber. The serialized graph on the other hand can have a check on the Maven version number to see if two graphs
are complient.
described, now it is.
incrementaltopatch, using the terminology on wikipedia.incrementalis used by Maven, but not as the 3rd version number.To be completed by pull request submitter:
To be completed by @opentripplanner/plc: