Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Changed logger message instantiating NPE #3888

Conversation

svilenvul
Copy link
Contributor

This was marked by PMD as error by the AvoidThrowingNullPointerException rule. Obviously the NPE is not thrown :), but anyway the instance here seems to be unnecessary.

Signed-off-by: Svilen Valkanov svilen.valkanov@musala.com

Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
Copy link
Contributor

@sjsf sjsf left a comment

Choose a reason for hiding this comment

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

but anyway the instance here seems to be unnecessary.

Only on the first glance... This was introduced lately to find out how null values get in there. See #3521 (comment)

@svilenvul
Copy link
Contributor Author

OK, I will add it as an exception then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants