You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:35:01 UTC

[sling-org-apache-sling-fsresource] 02/20: Code formatting

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

rombert pushed a commit to annotated tag org.apache.sling.fsresource-0.9.2-incubator
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-fsresource.git

commit fd8bbdca69fc65afa6ddb3f2c9e0e8c0ea0c30af
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Mon Jul 28 09:45:25 2008 +0000

    Code formatting
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/sling/trunk/samples/fsresource@680298 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java b/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
index 351525f..75b1f77 100644
--- a/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
+++ b/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
@@ -79,7 +79,8 @@ public class FsFolderServlet extends SlingSafeMethodsServlet {
 
         pw.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\"> <html>");
 
-        pw.printf("<head><title>Index of %s</title></head><body>%n", res.getPath());
+        pw.printf("<head><title>Index of %s</title></head><body>%n",
+            res.getPath());
         pw.printf("<h1>Index of %s</h1>%n", res.getPath());
 
         pw.println("<pre>");
@@ -94,7 +95,7 @@ public class FsFolderServlet extends SlingSafeMethodsServlet {
 
         // render the children
         renderChildren(pw, file);
-        
+
         pw.println("</pre>");
         pw.println("</body></html>");
     }
@@ -140,7 +141,7 @@ public class FsFolderServlet extends SlingSafeMethodsServlet {
             }
         }
     }
-    
+
     // order files by type (folder before files) and name (case insensitive)
     private static class FileNameComparator implements Comparator<File> {
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.