mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2024-11-17 12:27:05 +01:00
src/main/java: change getSize() to getSizeBytes()
Apparently this changed in DSpace 7. Untested, but it compiles now.
This commit is contained in:
parent
408a0e1c19
commit
9e965afdb7
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user