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

Remove unneccessary null-checks #5631

Conversation

matthias-ronge
Copy link
Collaborator

It seems that 'settings' can never be null, as other parts of the code rely on it not being null, without checking for it. The commit doesn’t touch public boolean isRequired() as it is already handled in PR #5609.

It seems that 'settings' can never be null, as other parts of the code
rely on it not being null, without checking for it.

The commit doesn’t touch public boolean isRequired() as it is handled in
a different PR already.
@solth solth requested a review from IkramMaalej May 16, 2023 11:07
Copy link
Collaborator

@IkramMaalej IkramMaalej left a comment

Choose a reason for hiding this comment

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

I think that this check is still needed because a NPE still occurs when trying to import some data using a mapping file that creates metadata groups and metadata entries within the group that are both unknown to the ruleset . See #5603 #5217 (comment)

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