Removing some outdated comments & added a missing override

This commit is contained in:
Kevin Van de Velde
2020-04-09 14:12:35 +02:00
parent 7de471ddaf
commit 3667ce4b40
2 changed files with 1 additions and 9 deletions

View File

@@ -890,6 +890,7 @@ public class CollectionServiceImpl extends DSpaceObjectServiceImpl<Collection> i
return collectionDAO.getCollectionsWithBitstreamSizesTotal(context); return collectionDAO.getCollectionsWithBitstreamSizesTotal(context);
} }
@Override
public Group createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, public Group createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString,
int defaultRead) int defaultRead)
throws SQLException, AuthorizeException { throws SQLException, AuthorizeException {

View File

@@ -417,7 +417,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionAdminGroupTestParentCommunityAdmin() throws Exception { public void deleteCollectionAdminGroupTestParentCommunityAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -860,7 +859,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionSubmittersGroupTestParentCommunityAdmin() throws Exception { public void deleteCollectionSubmittersGroupTestParentCommunityAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -876,7 +874,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
.andExpect(status().isNoContent()); .andExpect(status().isNoContent());
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionSubmittersGroupTestCollectionAdmin() throws Exception { public void deleteCollectionSubmittersGroupTestCollectionAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -1325,7 +1322,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionDefaultItemReadGroupTestParentCommunityAdmin() throws Exception { public void deleteCollectionDefaultItemReadGroupTestParentCommunityAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -1348,7 +1344,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
jsonPath("$", GroupMatcher.matchGroupEntry(anon.getID(), anon.getName()))); jsonPath("$", GroupMatcher.matchGroupEntry(anon.getID(), anon.getName())));
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionDefaultItemReadGroupTestCollectionAdmin() throws Exception { public void deleteCollectionDefaultItemReadGroupTestCollectionAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -1813,7 +1808,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionDefaultBitstreamReadGroupTestParentCommunityAdmin() throws Exception { public void deleteCollectionDefaultBitstreamReadGroupTestParentCommunityAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -1838,7 +1832,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionDefaultBitstreamReadGroupTestCollectionAdmin() throws Exception { public void deleteCollectionDefaultBitstreamReadGroupTestCollectionAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -2317,7 +2310,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionWorkflowGroupTestParentCommunityAdmin() throws Exception { public void deleteCollectionWorkflowGroupTestParentCommunityAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();
@@ -2334,7 +2326,6 @@ public class CollectionGroupRestControllerIT extends AbstractControllerIntegrati
.andExpect(status().isNoContent()); .andExpect(status().isNoContent());
} }
// This is currently not supported in DSpace API
@Test @Test
public void deleteCollectionWorkflowGroupTestCollectionAdmin() throws Exception { public void deleteCollectionWorkflowGroupTestCollectionAdmin() throws Exception {
context.turnOffAuthorisationSystem(); context.turnOffAuthorisationSystem();