incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r680298 - /incubator/sling/trunk/samples/fsresource/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
Date Mon, 28 Jul 2008 09:45:25 GMT
Author: fmeschbe
Date: Mon Jul 28 02:45:25 2008
New Revision: 680298

URL: http://svn.apache.org/viewvc?rev=680298&view=rev
Log:
Code formatting

Modified:
    incubator/sling/trunk/samples/fsresource/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java

Modified: incubator/sling/trunk/samples/fsresource/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/samples/fsresource/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java?rev=680298&r1=680297&r2=680298&view=diff
==============================================================================
--- incubator/sling/trunk/samples/fsresource/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
(original)
+++ incubator/sling/trunk/samples/fsresource/src/main/java/org/apache/sling/fsprovider/FsFolderServlet.java
Mon Jul 28 02:45:25 2008
@@ -79,7 +79,8 @@
 
         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 @@
 
         // render the children
         renderChildren(pw, file);
-        
+
         pw.println("</pre>");
         pw.println("</body></html>");
     }
@@ -140,7 +141,7 @@
             }
         }
     }
-    
+
     // order files by type (folder before files) and name (case insensitive)
     private static class FileNameComparator implements Comparator<File> {
 



Mime
View raw message