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

@@ -337,7 +337,7 @@ public class Collection extends DSpaceObject implements DSpaceObjectLegacySuppor
return collectionService;
}
public int getAllItems() {
public int countArchivedItem() {
try {
return collectionService.countArchivedItem(this);
} catch (ItemCountException e) {