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-commons-clam.git

commit 5920d5d168097bac71be8b012e6f3a6c2cbbf30b
Author: Oliver Lietz <[email protected]>
AuthorDate: Wed Sep 8 22:07:35 2021 +0200

    fix Javadoc
---
 .../java/org/apache/sling/commons/clam/internal/ClamdService.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/commons/clam/internal/ClamdService.java 
b/src/main/java/org/apache/sling/commons/clam/internal/ClamdService.java
index 3a42143..3db1449 100644
--- a/src/main/java/org/apache/sling/commons/clam/internal/ClamdService.java
+++ b/src/main/java/org/apache/sling/commons/clam/internal/ClamdService.java
@@ -170,8 +170,8 @@ public final class ClamdService implements ClamService, 
ContentAnalyzer {
      * It is mandatory to prefix this command with n or z.
      * Scan a stream of data. The stream is sent to clamd in chunks, after 
INSTREAM, on the same socket on which the
      * command was sent.  This avoids the overhead of establishing new TCP 
connections and problems with NAT.
-     * The format  of the chunk is: '<length><data>' where <length> is the 
size of the following data in bytes
-     * expressed as a 4 byte unsigned integer in network byte order and <data> 
is the actual chunk.
+     * The format  of the chunk is: '&lt;length&gt;&lt;data&gt;' where 
&lt;length&gt; is the size of the following data in bytes
+     * expressed as a 4 byte unsigned integer in network byte order and 
&lt;data&gt; is the actual chunk.
      * Streaming is terminated by sending a zero-length chunk.
      * Note: do not exceed StreamMaxLength as defined in clamd.conf, otherwise 
clamd will reply with INSTREAM size
      * limit exceeded and close the connection.

Reply via email to