Github user bonifaido commented on the pull request:
https://github.com/apache/curator/pull/45#issuecomment-56144966
I prefer the second one as well, taken into account that PatChildrenCache
might be deprecated in favor of TreeCache (as I heard :)), and also the
null-check makes sense there.
This change broke some tests in the Queue recipes as well, I tried to fix
those in another branch: https://github.com/bonifaido/curator/compare/travis
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---