You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by jo...@apache.org on 2024/05/28 10:06:45 UTC

(sling-org-apache-sling-engine) 01/01: SLING-12330 fix formatting

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

joerghoh pushed a commit to branch SLING-12330-spotless
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-engine.git

commit 15f038ffb4c5a110e5db7b5217e2c8de1ab384b8
Author: Joerg Hoh <jo...@apache.org>
AuthorDate: Tue May 28 12:06:31 2024 +0200

    SLING-12330 fix formatting
---
 .../org/apache/sling/engine/impl/SlingRequestProcessorImpl.java  | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java b/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
index 1061b2d..144c529 100644
--- a/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
+++ b/src/main/java/org/apache/sling/engine/impl/SlingRequestProcessorImpl.java
@@ -34,7 +34,6 @@ import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.io.PrintWriter;
 import java.io.Writer;
-import java.net.SocketException;
 import java.security.AccessControlException;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -282,16 +281,16 @@ public class SlingRequestProcessorImpl implements SlingRequestProcessor {
         } catch (final IOException ioe) {
             /**
              * handle all IOExceptions the same way; remember that there could be 2 major
-             * types of IOExceptions 
+             * types of IOExceptions
              * * exceptions thrown by the rendering process because it
-             * does I/O 
+             * does I/O
              * * exceptions thrown by the servlet engine when the connectivity to
              * the requester is problematic
-             * 
+             *
              * the second case does not need a proper error handling as the requester won't
              * see the result of it anyway, and for that case also the logging is not
              * helpful and should be limited to a minimum (if at all).
-             * 
+             *
              * But to ease the code and to provide a proper error handling for the
              * first case, both types are treated equally here.
              */