Skip to content

Conversation

@Mewel
Copy link
Contributor

@Mewel Mewel commented Dec 13, 2024

Resolves #123

@Mewel Mewel changed the title make repsitory builder more extensible make repository builder more extensible Dec 13, 2024
}

private <T extends OcflRepository> T buildInternal(Class<T> clazz) {
protected <T extends OcflRepository> T buildInternal(Class<T> clazz) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why does this need to be made protected? If you're subclassing OcflRepositoryBuilder, wouldn't you just override build()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True, I will fix this.

@pwinckles pwinckles merged commit c313b37 into OCFL:main Dec 18, 2024
5 checks passed
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.

OcflRepositoryBuilder internal API is private

2 participants