changeset 64:347e3fb76105

Adjust World.java indentation (GNU style of course).
author Mark Wielaard <mark@klomp.org>
date Sun, 06 Mar 2011 16:04:18 +0100
parents 9c7ab60f9005
children 553e63b468ec
files World.java
diffstat 1 files changed, 24 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/World.java	Sun Mar 06 01:37:21 2011 +0100
+++ b/World.java	Sun Mar 06 16:04:18 2011 +0100
@@ -14,32 +14,34 @@
     System.out.println ("vendor: " + System.getProperty("java.vm.vendor"));
     System.out.println ("os: " + System.getProperty("os.name"));
 
-FileFilter ff=new FileFilter() {
-
-           int x;
-           int y;
+    FileFilter ff = new FileFilter()
+    {
+      int x;
+      int y;
            
-            public boolean accept(File pathname) {
-//and here?
-//or here?
-                return  (pathname.getName().toUpperCase().endsWith(".JAVA"));
-/*and what about
-...
-..
-?*/
-            }
+      public boolean accept(File pathname)
+      {
+        // and here?
+        // or here?
+        return  (pathname.getName().toUpperCase().endsWith(".JAVA"));
+        /* and what about
+           ...
+           ..
+           ?*/
+      }
 
-int a;
-int b;
-int c;
+      int a;
+      int b;
+      int c;
 
-public void ahoj(){
-a=b+c;
-c=a-b;
-}
-};
+      public void ahoj()
+      {
+        a=b+c;
+        c=a-b;
+      }
+    };
 
-ff.accept(new File("dfds fds"));
+    ff.accept(new File("dfds fds"));
     System.out.println ("arch: " + System.getProperty("os.arch"));
   }
 }