From 9b2fa6d6d9a5da5808e66ca5439efca4a71ccfe7 Mon Sep 17 00:00:00 2001 From: rawdog Date: Wed, 6 Oct 2021 13:14:27 +0200 Subject: [PATCH] Update ClownfishWebdavServlet.java cleanup --- .../clownfish/servlets/ClownfishWebdavServlet.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clownfish/src/main/java/io/clownfish/clownfish/servlets/ClownfishWebdavServlet.java b/clownfish/src/main/java/io/clownfish/clownfish/servlets/ClownfishWebdavServlet.java index 5857fda2..84700fa4 100644 --- a/clownfish/src/main/java/io/clownfish/clownfish/servlets/ClownfishWebdavServlet.java +++ b/clownfish/src/main/java/io/clownfish/clownfish/servlets/ClownfishWebdavServlet.java @@ -217,7 +217,7 @@ protected void service(final HttpServletRequest req, final HttpServletResponse r // and doesn't add any special path protection // WebdavServlet remounts the webapp under a new path, so this check is // necessary on all methods (including GET). - + /* if (isSpecialPath(path)) { resp.sendError(WebdavStatus.SC_NOT_FOUND); @@ -249,7 +249,7 @@ protected void service(final HttpServletRequest req, final HttpServletResponse r break; case METHOD_PUT: doPut(req, resp); - break; + break; case METHOD_LOCK: doLock(req, resp); break; @@ -258,7 +258,7 @@ protected void service(final HttpServletRequest req, final HttpServletResponse r break; case METHOD_OPTIONS: doOptions(req, resp); - break; + break; default: // DefaultServlet processing super.service(req, resp);