Skip to content

Refactoring UpdateScope, VersionDetails and related classes#702

Merged
slachiewicz merged 1 commit intomojohaus:masterfrom
andrzejj0:updatescope-refactor
Sep 18, 2022
Merged

Refactoring UpdateScope, VersionDetails and related classes#702
slachiewicz merged 1 commit intomojohaus:masterfrom
andrzejj0:updatescope-refactor

Conversation

@andrzejj0
Copy link
Copy Markdown
Contributor

The goal of this exercise is to simply VersionDetails and related classes. I've noticed that a lot of logic related to version management is spread across multiple classes. In particular, UpdateScope which is supposed to be a simple enum-like class and a container for the segment, has grown to some utility class with code duplication. Cleaned that up.

The ultimate goal is to replace version management helpers with JSR330 components, also to split VersionComparator classes from their utility part (segment manipulation) -- but that's for another PR. I want to keep the scope small so that it doesn't become another gargantuan PR to review 😆

Please note: until #701 is merged in, there are two commits, then I'll merge and squash.

@sultan
Copy link
Copy Markdown
Contributor

sultan commented Sep 17, 2022

somehow i cant make my ide checkout the pr, i think it will be easier for both of us if you can merge your PR first, then i'll have a nice branch to checkout and merge on my side. would it be ok for you ?

@slachiewicz slachiewicz merged commit 484a581 into mojohaus:master Sep 18, 2022
@slawekjaranowski slawekjaranowski added this to the 2.13.0 milestone Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants