From 6643f8649c23dff30729889c4b7a557baa573643 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 4 Oct 2024 15:09:12 +0200 Subject: [PATCH] fixing set of fileSize --- .../org/gcube/application/geoportal/common/utils/FileSets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java index ddbb68a..641c677 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java @@ -123,7 +123,7 @@ public class FileSets { TempFile file = FileSets.asTemp(storage, new InputStreamDescriptor(new FileInputStream(f), f.getName())); // Added by Francesco, see #28150 - log.debug("PrepareRequest for tempfile name " + file.getFilename() + " size: " + file.getSize()); + log.debug("PrepareRequest for tempfile name " + file.getFilename() + " size: " + fileSize); file.setSize(fileSize); builder.add(file); } -- 2.17.1