Skip to content

Commit

Permalink
checkstyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Paurikova2 committed Oct 7, 2024
1 parent 0e4c9a2 commit 556c3d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ private void add(Context context, DSpaceObject dso, DSpaceObjectService dsoServi
metadataValue.getValue(), metadataValue.getAuthority(), metadataValue.getConfidence(), indexInt);
provenanceService.addMetadata(context, dso, metadataField);
} catch (SQLException e) {
throw new DSpaceBadRequestException("SQLException in DspaceObjectMetadataAddOperation.add trying to add " +
"metadata to dso.", e);
throw new DSpaceBadRequestException("SQLException in DspaceObjectMetadataAddOperation.add trying to add " +
"metadata to dso.", e);
} catch (AuthorizeException e) {
throw new DSpaceBadRequestException(
"AuthorizeException in DspaceObjectMetadataAddOperation.add " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
import static org.apache.commons.io.IOUtils.toInputStream;
import static org.springframework.data.rest.webmvc.RestMediaTypes.TEXT_URI_LIST_VALUE;
import static org.springframework.http.MediaType.parseMediaType;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.patch;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.put;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

Expand Down

0 comments on commit 556c3d4

Please sign in to comment.