Skip to content

Conversation

@amitjoy
Copy link
Contributor

@amitjoy amitjoy commented Apr 23, 2022

Fixes #1430

@amitjoy
Copy link
Contributor Author

amitjoy commented Apr 23, 2022

@abhinayagarwal It is also a lurking bug I recently noticed and according to the API contract of ObservableValue#removeListener(ChangeListener), the argument must not be null, otherwise NPE will be thrown. It makes sense to introduce defensive programming for better failsafe approach.

Could you kindly have a look?

Copy link
Member

@abhinayagarwal abhinayagarwal left a comment

Choose a reason for hiding this comment

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

LGTM!

@abhinayagarwal abhinayagarwal merged commit 0eb3dc6 into controlsfx:master Apr 24, 2022
@amitjoy amitjoy deleted the fix/1430/npe branch June 10, 2022 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPE while removing items from ObservableList that is used in TableView

2 participants