[NO ISSUE]: Skip logging empty list if no files will be deleted

Change-Id: I854f39689b30c3c3fa53cb845477c321441e97a2
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18326
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Tested-by: Hussain Towaileb <hussainht@gmail.com>
diff --git a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/lazy/ParallelCacher.java b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/lazy/ParallelCacher.java
index a3079e6..00db458 100644
--- a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/lazy/ParallelCacher.java
+++ b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/lazy/ParallelCacher.java
@@ -157,7 +157,10 @@
 
     @Override
     public boolean remove(Collection<FileReference> deletedFiles) {
-        LOGGER.info("Deleting {}", deletedFiles);
+        if (!deletedFiles.isEmpty()) {
+            LOGGER.info("Deleting {}", deletedFiles);
+        }
+
         for (FileReference fileReference : deletedFiles) {
             remove(fileReference);
         }