hi,

apologies if this has been discussed already and I missed it.

I ran into this via some tets in the AccessControlManagerImplTest that
trigger a NPE in the Segment MK impl [0].

I'm looking at the Tree and the NodeState interfaces, I see a lot of api
docs about the returned value but no constraints about the input child name.
Is null considered a valid input?

Either way I think we should build in proper null checks for all existing
implementations.

thoughts?

thanks,
alex


[0]
https://issues.apache.org/jira/browse/OAK-635?focusedCommentId=13581138&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13581138

Reply via email to