Skip to content

Commit

Permalink
Remove white spaces to comply with DSpace checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma-Tador committed May 2, 2023
1 parent 44e7bef commit 603cd9a
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -87,7 +87,7 @@ public RegistrationRest findOne(Context context, Integer integer) {
public Page<RegistrationRest> findAll(Context context, Pageable pageable) {
throw new RepositoryMethodNotImplementedException("No implementation found; Method not allowed!", "");
}

@Override
public RegistrationRest createAndReturn(Context context) {
HttpServletRequest request = requestService.getCurrentRequest().getHttpServletRequest();
Expand Down Expand Up @@ -136,7 +136,7 @@ public RegistrationRest createAndReturn(Context context) {
log.error("Something went wrong with sending forgot password info email: "
+ registrationRest.getEmail(), e);
}
} else if (accountType.equalsIgnoreCase(TYPE_REGISTER)) {
} else if (accountType.equalsIgnoreCase(TYPE_REGISTER)) {
try {
String email = registrationRest.getEmail();
if (!AuthorizeUtil.authorizeNewAccountRegistration(context, request)) {
Expand All @@ -157,7 +157,6 @@ public RegistrationRest createAndReturn(Context context) {
return null;
}


@Override
public Class<RegistrationRest> getDomainClass() {
return RegistrationRest.class;
Expand Down

0 comments on commit 603cd9a

Please sign in to comment.