Skip to content
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

Fixing #604: npe in DependencyVersionChanger if artifact version is null #655

Conversation

jarmoniuk
Copy link
Contributor

@jarmoniuk jarmoniuk commented Aug 27, 2022

Fixing an NPE in DependecyVersionChanger if the old version is null + checkstyle fixes + some minor refactoring.

Edit: There's no verification in that test case as the test is considered successful if no exception is raised :-)

@jarmoniuk jarmoniuk force-pushed the issue-604-npe-dependency-version-changer branch from 4a6c2d3 to ae7d32b Compare August 27, 2022 10:35
@jarmoniuk
Copy link
Contributor Author

Please also see #656

This PR can be reworked to incorporate it and use a unit test instead.


<artifactId>child</artifactId>

</project>
Copy link
Member

Choose a reason for hiding this comment

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

missing new line 😄

@slawekjaranowski slawekjaranowski linked an issue Aug 27, 2022 that may be closed by this pull request
@slawekjaranowski slawekjaranowski merged commit 189cfbf into mojohaus:master Aug 27, 2022
@jarmoniuk jarmoniuk deleted the issue-604-npe-dependency-version-changer branch September 1, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible issue which could raise NPE.
2 participants