Skip to content

Conversation

@paolopavan
Copy link
Contributor

This PR contains general code cleaning not specifically related to the issue. Just a bit of improving quality of the files touched by #855, left apart to ease the review of the main issue.

…ters more may be less readable I changed strategy and configured parser class.
…anning the end point. Location contract wants sublocations
…ger. This fix should be propagated to Location class and related.
Copy link
Contributor

@josemduarte josemduarte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the nice cleanup! Two comments:

  • this is mixing up some of the changes that are in PR #872 . Could you separate those changes out of this PR?
  • some of the changes here are affecting public methods and interfaces signatures. That would normally deserve a bump of major version. However since they are not too dramatic (simply changing collection implementations to interfaces e.g. ArrayList->List) I would be ok to have them in next minor release (5.4.0). Anyone not ok with that?

@heuermh
Copy link
Member

heuermh commented May 5, 2020

Anyone not ok with that?

Could we run a binary compatibility check using Clirr or another similar tool? The problem is not that changes are big or small, it is rather that users run may run into IncompatibleClassChangeError and related exceptions at runtime.

@josemduarte
Copy link
Contributor

@heuermh The changes here would mean a compile time error for downstream users (that's why it should be a Major version bump).

I was simply saying that for this case it's a minimal change since the interface is mostly conserved when switching ArrayList->List or HashMap->Map. So it would be an easy-to-fix compile time error.

@paolopavan
Copy link
Contributor Author

paolopavan commented May 8, 2020

You are right @josemduarte , I didn't put too much attention to that since I had the feeling I was not changing API exposed classes, but eventually this is not the case, sorry about that.
Indeed I got lost in this cleaning and unfortunately it is also far away to be completed.

And yes, when I started I didn't suppose to make a lot of changes and unfortunately I didn't create another branch from master. That would have prevented those changes on the top of #872 but in fact my initial purpose was just cleaning touched files. Unfortunately I don't think what you ask is a very easy task.
It would be an option merging #872 first and #873 after? I think this will not generate any conflict or issue.

@josemduarte
Copy link
Contributor

Ok, thanks @paolopavan . Indeed, I think we can merge #872 to include it in next release (5.4.0), whilst keeping this one open and defer for next release.

We are likely going to need a 6.0.0 release soon for other reasons, so we can do all these API changes together.

@paolopavan
Copy link
Contributor Author

Fair enough, @josemduarte .
There is a roadmap for 6.0.0?

@josemduarte
Copy link
Contributor

Ok I'll close the PR. @paolopavan please make a new one after the 5.4.0 release happens.

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.

3 participants