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/03 12:40:55 UTC

[sling-org-apache-sling-clam] branch master updated: style

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


The following commit(s) were added to refs/heads/master by this push:
     new 46039c5  style
46039c5 is described below

commit 46039c5c017af4c278542444e94b9e818917fd68
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Jun 2 22:54:51 2019 +0200

    style
---
 .../java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java b/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java
index 02be234..878eeb4 100644
--- a/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java
+++ b/src/main/java/org/apache/sling/clam/http/internal/ClamJcrScanServlet.java
@@ -49,6 +49,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import static org.apache.sling.clam.http.internal.RequestUtil.isAuthorized;
+import static org.apache.sling.clam.http.internal.RequestUtil.maxDepth;
 import static org.apache.sling.clam.http.internal.RequestUtil.maxLength;
 import static org.apache.sling.clam.http.internal.RequestUtil.path;
 import static org.apache.sling.clam.http.internal.RequestUtil.pattern;
@@ -137,7 +138,7 @@ public class ClamJcrScanServlet extends SlingAllMethodsServlet {
             pattern = pattern(request, this.pattern);
             propertyTypes = propertyTypes(request, this.propertyTypes);
             maxLength = maxLength(request, configuration.digger_default_property_length_max());
-            maxDepth = RequestUtil.maxDepth(request, configuration.digger_default_node_depth_max());
+            maxDepth = maxDepth(request, configuration.digger_default_node_depth_max());
         } catch (Exception e) {
             handleError(response, HttpServletResponse.SC_BAD_REQUEST, e.getMessage());
             return;