You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2019/06/02 08:21:38 UTC

[sling-org-apache-sling-clam] 01/09: SLING-8455 Add size of sent bytes to properties

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-clam.git

commit 7b25bbacdf4fce328d32134b6ee47910477a35a1
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri May 31 17:20:20 2019 +0200

    SLING-8455 Add size of sent bytes to properties
---
 src/main/java/org/apache/sling/clam/internal/ClamUtil.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/sling/clam/internal/ClamUtil.java b/src/main/java/org/apache/sling/clam/internal/ClamUtil.java
index e85b0f3..9c5244a 100644
--- a/src/main/java/org/apache/sling/clam/internal/ClamUtil.java
+++ b/src/main/java/org/apache/sling/clam/internal/ClamUtil.java
@@ -75,6 +75,7 @@ public final class ClamUtil {
         properties.put("message", scanResult.getMessage());
         properties.put("status", scanResult.getStatus().name());
         properties.put("started", scanResult.getStarted());
+        properties.put("size", scanResult.getSize());
         return properties;
     }