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
Minor code cleanup #824
Minor code cleanup #824
Conversation
eb45cbb
to
0e52cc6
Compare
} | ||
}; | ||
|
||
private static final HttpHeaderReader.ListElementCreator<PreferTag> PREFER_CREATOR = r -> new PreferTag(r); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would also work, no?
PREFER_CREATOR = PreferTag::new;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, yes. Maybe just in-line it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
* @param second | ||
* @throws Exception | ||
*/ | ||
void acceptThrows(final S first, final T second) throws Exception; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can safely be private
, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an interface. There are no private
methods.
Resolved with: e8b3f63 |
https://jira.duraspace.org/browse/FCREPO-1603