Skip to content

Commit

Permalink
[Task 71440] fixed checkstyle and added preAuthorize to the Submissio…
Browse files Browse the repository at this point in the history
…nCCLicenseUrlRepository
  • Loading branch information
Raf-atmire committed Jun 23, 2020
1 parent 3f9a690 commit 9f9fe26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public SubmissionCCLicenseUrlRest findByRightsByQuestions() {
/**
* The findOne method is not supported in this repository
*/
@PreAuthorize("permitAll()")
public SubmissionCCLicenseUrlRest findOne(final Context context, final String s) {
throw new RepositoryMethodNotImplementedException(SubmissionCCLicenseUrlRest.NAME, "findOne");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
* representation SubmissionCCLicenseUrlRest and vice versa
*/
@Component
public class SubmissionCCLicenseUrlConverter implements DSpaceConverter<SubmissionCCLicenseUrl, SubmissionCCLicenseUrlRest> {
public class SubmissionCCLicenseUrlConverter
implements DSpaceConverter<SubmissionCCLicenseUrl, SubmissionCCLicenseUrlRest> {

/**
* Convert a Submission CC License Url String to its REST representation
Expand Down

0 comments on commit 9f9fe26

Please sign in to comment.