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

Hierarchy children #382

Closed
wants to merge 4 commits into from
Closed

Conversation

lsitu
Copy link
Contributor

@lsitu lsitu commented May 22, 2014

lsitu and others added 3 commits May 22, 2014 11:20
FedoraResourceImpl.java, and exposing the hierarchy levels through the
IdentifierConverter and IdentifierTranslator on behalf of the
getChildren() implementation.
private static void findChildren(final Node node, final List<Node> children, final boolean recurse)
throws RepositoryException {
if (node.getNodes() == null) {
System.out.println("Null nodes");
Copy link

Choose a reason for hiding this comment

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

Line 450 will hit an NPE if node.getNodes() == null.
We probably want to LOG and return.

@lsitu
Copy link
Contributor Author

lsitu commented May 23, 2014

Okay, corrected to log and return with the new commit. Thanks.

@osmandin osmandin closed this Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants