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

added getTypes() method #899

Closed
wants to merge 2 commits into from
Closed

added getTypes() method #899

wants to merge 2 commits into from

Conversation

acoburn
Copy link
Contributor

@acoburn acoburn commented Sep 1, 2015

.map(uncheck(x -> x.getName()))
.distinct()
.map(nodeTypeNameToURI::apply)
.collect(Collectors.toList());
Copy link

Choose a reason for hiding this comment

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

A "debug" logging call would be helpful on the collected types.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this duplicating stuff that is in TypeRdfContext? Do we need to DRY up?

Copy link
Contributor

Choose a reason for hiding this comment

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

Never mind. I see what you did there.

@acoburn
Copy link
Contributor Author

acoburn commented Sep 1, 2015

I added some debug logging in the getTypes() implementation and cleaned up the unit test.

@awoods
Copy link

awoods commented Sep 1, 2015

This looks good.
...just waiting for Travis to finish before I squash and merge.
Travis is a wimp. It works locally.

@awoods
Copy link

awoods commented Sep 1, 2015

Resolved with: b03c4ea

@awoods awoods closed this Sep 1, 2015
@acoburn acoburn deleted the fcrepo-1717 branch September 1, 2015 18:11
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