Item counters refactor. Removing unnecessary code.

This commit is contained in:
damian
2023-05-12 12:29:22 +02:00
parent 0231af5867
commit 1cc6fb2f58
9 changed files with 21 additions and 27 deletions

View File

@@ -265,9 +265,9 @@ public class Community extends DSpaceObject implements DSpaceObjectLegacySupport
return communityService;
}
public int getAllItems() {
public int countArchivedItem() {
try {
return communityService.getArchivedItems(this);
return communityService.getArchivedItems(this);
} catch (ItemCountException e) {
throw new RuntimeException(e);
}