commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r786976 - in /commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime: TestFile.java TestProperties.java TestStructure.java
Date Sun, 21 Jun 2009 09:50:59 GMT
Author: mturk
Date: Sun Jun 21 09:50:59 2009
New Revision: 786976

URL: http://svn.apache.org/viewvc?rev=786976&view=rev
Log:
Tab police

Modified:
    commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java
    commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestProperties.java
    commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestStructure.java

Modified: commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java?rev=786976&r1=786975&r2=786976&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java (original)
+++ commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java Sun Jun
21 09:50:59 2009
@@ -222,7 +222,7 @@
         f.createNewFile();
         EnumSet <FileProtection> fp = f.getFileProtection();
         System.out.println("Org Attr Protection " + fp);
-		// Set the rdonly attributes
+        // Set the rdonly attributes
         f.setFileAttributes(EnumSet.of(FileAttributes.READ), EnumSet.allOf(FileAttributes.class));
         EnumSet <FileProtection> np = f.getFileProtection();
         System.out.println("Set Attr Protection " + np);
@@ -237,9 +237,9 @@
         f.createNewFile();
         EnumSet <FileProtection> fp = f.getFileProtection();
         System.out.println("Org Attr Protection " + fp);
-		// Set the rdonly attributes
+        // Set the rdonly attributes
         f.setFileAttributes(EnumSet.of(FileAttributes.READ), EnumSet.allOf(FileAttributes.class));
-		// Clear the rdonly attributes
+        // Clear the rdonly attributes
         f.setFileAttributes(EnumSet.noneOf(FileAttributes.class), EnumSet.of(FileAttributes.READ));
         EnumSet <FileProtection> np = f.getFileProtection();
         System.out.println("Set Attr Protection " + np);
@@ -257,7 +257,7 @@
         f.setFileAttributes(EnumSet.allOf(FileAttributes.class), EnumSet.allOf(FileAttributes.class));
         EnumSet <FileProtection> cp = f.getFileProtection();
         System.out.println("Rst Attr Protection " + cp);
-		// Clear the rdonly attributes
+        // Clear the rdonly attributes
         f.setFileAttributes(EnumSet.noneOf(FileAttributes.class), EnumSet.of(FileAttributes.READ));
         EnumSet <FileProtection> np = f.getFileProtection();
         System.out.println("Set Attr Protection " + np);

Modified: commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestProperties.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestProperties.java?rev=786976&r1=786975&r2=786976&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestProperties.java
(original)
+++ commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestProperties.java
Sun Jun 21 09:50:59 2009
@@ -44,7 +44,7 @@
         property = p.getProperty("java.library.path");
         assertNotNull("java.library.path ", property);
     }
-    
+
     public void testDefaultProperties()
         throws Exception
     {

Modified: commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestStructure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestStructure.java?rev=786976&r1=786975&r2=786976&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestStructure.java (original)
+++ commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestStructure.java Sun
Jun 21 09:50:59 2009
@@ -115,16 +115,16 @@
     {
         MyInvalidStructure s = new MyInvalidStructure();
         try {
-        	int c = s.count();
-        	fail("Exception not thrown");
+            int c = s.count();
+            fail("Exception not thrown");
         }
         catch (InvalidStructureElementException i)
         {
-        	// OK.
+            // OK.
         }
         catch (Exception e)
         {
-        	fail("Wrong exception thrown : " + e);
+            fail("Wrong exception thrown : " + e);
         }
     }
 



Mime
View raw message