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 a97051c8733ef7452e5d75cabe59d31316e1dadc Author: Oliver Lietz <[email protected]> AuthorDate: Wed Sep 8 22:14:03 2021 +0200 [checkstyle] (coding) DeclarationOrder --- .../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 3db1449..eaeaa42 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 @@ -60,8 +60,6 @@ import org.slf4j.LoggerFactory; ) public final class ClamdService implements ClamService, ContentAnalyzer { - private ClamdServiceConfiguration configuration; - private static final byte[] PING_COMMAND = "nPING\n".getBytes(StandardCharsets.US_ASCII); private static final byte[] PONG_REPLY = "PONG\n".getBytes(StandardCharsets.US_ASCII); @@ -77,6 +75,8 @@ public final class ClamdService implements ClamService, ContentAnalyzer { // length is the size of the following data in bytes expressed as a 4 byte unsigned integer in network byte order private static final int CHUNK_LENGTH_DATUM_SIZE = 4; + private ClamdServiceConfiguration configuration; + private final Logger logger = LoggerFactory.getLogger(ClamdService.class); public ClamdService() { //
