src/main/java: change getSize() to getSizeBytes()

Apparently this changed in DSpace 7. Untested, but it compiles now.
This commit is contained in:
Alan Orth 2023-12-28 10:17:59 +03:00
parent 408a0e1c19
commit 9e965afdb7
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class FixJpgJpgThumbnails {
for (Bitstream originalBitstream : originalBundleBitstreams) {
String originalName = originalBitstream.getName();
long originalBitstreamBytes = originalBitstream.getSize();
long originalBitstreamBytes = originalBitstream.getSizeBytes();
/*
- check if the original file name is the same as the thumbnail name minus the extra ".jpg"