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

remove all Problems from fcrepo-kernel-api #947

Closed
wants to merge 3 commits into from
Closed

remove all Problems from fcrepo-kernel-api #947

wants to merge 3 commits into from

Conversation

acoburn
Copy link
Contributor

@acoburn acoburn commented Nov 11, 2015

@@ -47,6 +47,10 @@
<artifactId>javax.inject</artifactId>
</dependency>
<dependency>
<groupId>org.modeshape</groupId>
Copy link

Choose a reason for hiding this comment

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

Do you see what requires org.modeshape in the fcrepo-jms module? It seems like that is the next target.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is the JCR_CONTENT constant. It implies a deeper investigation as to why it is escaping the fcrepo-kernel-modeshape module. And yes, it is most certainly a good "next target".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also, I suspect that finding where the JCR_CONTENT value is escaping from fcrepo-kernel-modeshape will also help remove that from fcrepo-module-auth-webac: http://git.io/v854c

Copy link

Choose a reason for hiding this comment

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

👍

@acoburn
Copy link
Contributor Author

acoburn commented Nov 11, 2015

@ajs6f updated PR with your suggestions

return repoMgr.backupRepository(backupDirectory);
final Collection<Throwable> problems = new ArrayList<>();

repoMgr.backupRepository(backupDirectory).forEach(x -> {
Copy link
Contributor

Choose a reason for hiding this comment

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

No need for braces and newlines here, just .backupRepository(backupDirectory).forEach(x -> problems.add(x.getThrowable()));

@awoods
Copy link

awoods commented Nov 13, 2015

Resolved with: 89b8bff

@awoods awoods closed this Nov 13, 2015
@acoburn acoburn deleted the fcrepo-1834 branch December 28, 2015 17:18
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