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
NullPointerException in FlywayEndpoint with schema baseline #14019
NullPointerException in FlywayEndpoint with schema baseline #14019
Conversation
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.
Thanks for the PR. Rather than using Optional.ofNullable
for this sort of thing, our code style is to use (thing != null) ? thing: somethingElse
instead. Would you like to update the PR to do that?
@wilkinsona, ok, i'll update my pull request |
* gh-14019: Polish "Fix NPE in FlywayEndpoint when migration.installedOn is null" Fix NPE in FlywayEndpoint when migration.installedOn is null
@ayudovin Thank you very much for making your first contribution to Spring Boot. The proposed changes are now in 2.0.x and master. I also applied a little bit of polish, primarily to add a test so that we don't inadvertently break this again in the future. |
@wilkinsona, yeah, thank you |
Fixing nullPointerException in FlywayEndpoint with schema baseline.
this bug