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 556c3d4 commit e7caf0d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@

public class ProvenanceServiceIT extends AbstractControllerIntegrationTest {
private ItemService itemService = ContentServiceFactory.getInstance().getItemService();
private ClarinLicenseLabelService clarinLicenseLabelService = ClarinServiceFactory.getInstance().getClarinLicenseLabelService();
private ClarinLicenseLabelService clarinLicenseLabelService =
ClarinServiceFactory.getInstance().getClarinLicenseLabelService();
private ClarinLicenseService clarinLicenseService = ClarinServiceFactory.getInstance().getClarinLicenseService();

private Collection collection;
Expand Down Expand Up @@ -152,7 +153,8 @@ private Bundle createBundle(Item item, String bundleName) throws SQLException, A
return bundle;
}

private Bitstream createBitstream(Item item, String bundleName) throws SQLException, AuthorizeException, IOException {
private Bitstream createBitstream(Item item, String bundleName)
throws SQLException, AuthorizeException, IOException {
context.turnOffAuthorisationSystem();
Bundle bundle = createBundle(item, Objects.isNull(bundleName) ? "test" : bundleName);
Bitstream bitstream = BitstreamBuilder.createBitstream(context, bundle,
Expand Down Expand Up @@ -466,7 +468,8 @@ public void addBitstreamToItemTest() throws Exception {
String token = getAuthToken(admin.getEmail(), password);
String input = "Hello, World!";
context.turnOffAuthorisationSystem();
MockMultipartFile file = new MockMultipartFile("file", "hello.txt", org.springframework.http.MediaType.TEXT_PLAIN_VALUE,
MockMultipartFile file = new MockMultipartFile("file", "hello.txt",
org.springframework.http.MediaType.TEXT_PLAIN_VALUE,
input.getBytes());
context.restoreAuthSystemState();
getClient(token)
Expand Down

0 comments on commit e7caf0d

Please sign in to comment.