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

POOL-376 invalidateObject should not throw NPE #24

Closed
wants to merge 1 commit into from

Conversation

sazzad16
Copy link
Contributor

@sazzad16 sazzad16 commented Sep 21, 2019

GenericObjectPool.invalidateObject(T obj) and/or GenericObjectPool.destroy(PooledObject<T> toDestroy) should not throw NullPointerException when respective parameter (obj/toDestroy) is not null.

`GenericObjectPool.invalidateObject(T obj)` and/or `GenericObjectPool.destroy(PooledObject<T> toDestroy)` should not throw NullPointerException when respective parameter (`obj/`toDestroy`) is not `null`.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 84.37% when pulling bda049b on sazzad16:patch-1 into cb38a1b on apache:master.

@sazzad16 sazzad16 mentioned this pull request Sep 23, 2019
@psteitz psteitz closed this in #25 Sep 25, 2019
@sazzad16 sazzad16 deleted the patch-1 branch September 25, 2019 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants