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

test(Pool): fix possible null exception in Pool tests #1011

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

nicoprow
Copy link
Contributor

@nicoprow nicoprow commented Jul 24, 2024

Description

This pull request fixes a possible null exception in Pool tests when comparing dates of expected and actual business partnert data. If one of those dates is null and the other is not (currently not happening during tests) a null-Exception would be thrown.

This potential Null Exception leads to a comilation error in #948
It seems like the new kotlin compiler is able to detect this potentional null-expection where the old one did not.

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

@nicoprow nicoprow marked this pull request as ready for review July 24, 2024 04:49
@nicoprow nicoprow requested a review from SujitMBRDI July 24, 2024 04:49
@nicoprow nicoprow added this to the BPDM v6.1.1 milestone Jul 24, 2024
@nicoprow nicoprow merged commit 4d3de11 into main Jul 24, 2024
16 checks passed
@nicoprow nicoprow deleted the test/fix-possible-null-exception branch July 24, 2024 09:24
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.

2 participants