commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1362083 - /commons/proper/vfs/trunk/examples/src/main/java/org/apache/commons/vfs2/example/ShowProperties.java
Date Mon, 16 Jul 2012 15:15:04 GMT
Author: ggregory
Date: Mon Jul 16 15:15:04 2012
New Revision: 1362083

URL: http://svn.apache.org/viewvc?rev=1362083&view=rev
Log:
Checkstyle fixes.

Modified:
    commons/proper/vfs/trunk/examples/src/main/java/org/apache/commons/vfs2/example/ShowProperties.java

Modified: commons/proper/vfs/trunk/examples/src/main/java/org/apache/commons/vfs2/example/ShowProperties.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/examples/src/main/java/org/apache/commons/vfs2/example/ShowProperties.java?rev=1362083&r1=1362082&r2=1362083&view=diff
==============================================================================
--- commons/proper/vfs/trunk/examples/src/main/java/org/apache/commons/vfs2/example/ShowProperties.java
(original)
+++ commons/proper/vfs/trunk/examples/src/main/java/org/apache/commons/vfs2/example/ShowProperties.java
Mon Jul 16 15:15:04 2012
@@ -40,7 +40,8 @@ public class ShowProperties
             System.err.println("e.g. java org.apache.commons.vfs2.example.ShowProperties
LICENSE.txt");
             return;
         }
-        for (String arg : args) {
+        for (String arg : args) 
+        {
             try
             {
                 FileSystemManager mgr = VFS.getManager();
@@ -80,7 +81,8 @@ public class ShowProperties
                             }
                         }
                     }
-                    System.out.println("Last modified: " + DateFormat.getInstance().format(new
Date(file.getContent().getLastModifiedTime())));
+                    System.out.println("Last modified: " + DateFormat.getInstance().format(
+                            new Date(file.getContent().getLastModifiedTime())));
                 }
                 else
                 {



Mime
View raw message