Author: britter
Date: Thu Jan  9 16:53:33 2014
New Revision: 1556872

URL: http://svn.apache.org/r1556872
Log:
Replace tabs with spaces

Modified:
    
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java

Modified: 
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java
URL: 
http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java?rev=1556872&r1=1556871&r2=1556872&view=diff
==============================================================================
--- 
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java 
(original)
+++ 
commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java 
Thu Jan  9 16:53:33 2014
@@ -62,26 +62,26 @@ public final class TestUtil {
     
     
     public static void assertEquals(final Object[] expected, final Object[] 
actual, final boolean orderSignificant) {
-       
-       if (expected == null && actual == null) {
-               // all good
-       } else if (actual == null) {
-               throw new AssertionFailedError("Expected non null array");
-       } else if (expected == null) {
-               throw new AssertionFailedError("Expected null array");
-       } else {
-               if (expected.length != actual.length) {
-                       throw new AssertionFailedError("Arrays not of same 
length");
-               }
-               
-               if (!orderSignificant) {
-                       Arrays.sort(expected);
-                       Arrays.sort(actual);
-               }
-               
-               for (int i = 0; i < actual.length; i++) {
-                               TestCase.assertEquals("Array element at " + i, 
expected[i], actual[i]);
-                       }
-       }
+        
+        if (expected == null && actual == null) {
+            // all good
+        } else if (actual == null) {
+            throw new AssertionFailedError("Expected non null array");
+        } else if (expected == null) {
+            throw new AssertionFailedError("Expected null array");
+        } else {
+            if (expected.length != actual.length) {
+                throw new AssertionFailedError("Arrays not of same length");
+            }
+            
+            if (!orderSignificant) {
+                Arrays.sort(expected);
+                Arrays.sort(actual);
+            }
+            
+            for (int i = 0; i < actual.length; i++) {
+                TestCase.assertEquals("Array element at " + i, expected[i], 
actual[i]);
+            }
+        }
     }
 }


Reply via email to