Author: bayard
Date: Tue Oct 20 06:11:39 2009
New Revision: 826970

URL: http://svn.apache.org/viewvc?rev=826970&view=rev
Log:
Removing tabs

Modified:
    
commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
    
commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
    
commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java

Modified: 
commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java?rev=826970&r1=826969&r2=826970&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java 
(original)
+++ 
commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrBuilder.java 
Tue Oct 20 06:11:39 2009
@@ -1128,7 +1128,7 @@
      * @since 3.0
      */
     public StrBuilder appendSeparator(String standard, String defaultIfEmpty) {
-       String str = isEmpty() ? defaultIfEmpty : standard;
+        String str = isEmpty() ? defaultIfEmpty : standard;
         if (str != null) {
             append(str);
         }
@@ -1177,7 +1177,7 @@
             append(standard);
         }
         else {
-               append(defaultIfEmpty);
+            append(defaultIfEmpty);
         }
         return this;
     }

Modified: 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java?rev=826970&r1=826969&r2=826970&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
 Tue Oct 20 06:11:39 2009
@@ -996,14 +996,14 @@
     
     //-----------------------------------------------------------------------
     public void testAppendSeparator_String_String() {
-       StrBuilder sb = new StrBuilder();
-       final String startSeparator = "order by ";
-       final String standardSeparator = ",";
-       final String foo = "foo";
-       sb.appendSeparator(null, null);
-       assertEquals("", sb.toString());
-       sb.appendSeparator(standardSeparator, null);
-       assertEquals("", sb.toString());
+        StrBuilder sb = new StrBuilder();
+        final String startSeparator = "order by ";
+        final String standardSeparator = ",";
+        final String foo = "foo";
+        sb.appendSeparator(null, null);
+        assertEquals("", sb.toString());
+        sb.appendSeparator(standardSeparator, null);
+        assertEquals("", sb.toString());
         sb.appendSeparator(standardSeparator, startSeparator); 
         assertEquals(startSeparator, sb.toString());
         sb.appendSeparator(null, null); 
@@ -1027,10 +1027,10 @@
         assertEquals("foo,", sb.toString());
     }
     public void testAppendSeparator_char_char() {
-       StrBuilder sb = new StrBuilder();
-       final char startSeparator = ':';
-       final char standardSeparator = ',';
-       final String foo = "foo";
+        StrBuilder sb = new StrBuilder();
+        final char startSeparator = ':';
+        final char standardSeparator = ',';
+        final String foo = "foo";
         sb.appendSeparator(standardSeparator, startSeparator);  // no effect
         assertEquals(String.valueOf(startSeparator), sb.toString());
         sb.append(foo);

Modified: 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java?rev=826970&r1=826969&r2=826970&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java
 Tue Oct 20 06:11:39 2009
@@ -1161,8 +1161,8 @@
      * Tests various values with the ceiling method
      */
     public void testCeil() throws Exception {
-       // tests public static Date ceiling(Date date, int field)
-       assertEquals("ceiling year-1 failed",
+        // tests public static Date ceiling(Date date, int field)
+        assertEquals("ceiling year-1 failed",
                 dateParser.parse("January 1, 2003"),
                 DateUtils.ceiling(date1, Calendar.YEAR));
         assertEquals("ceiling year-2 failed",
@@ -1317,7 +1317,7 @@
         
         // Fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=25560
         // Test ceiling across the beginning of daylight saving time
-       TimeZone.setDefault(zone);
+        TimeZone.setDefault(zone);
         dateTimeParser.setTimeZone(zone);
 
         assertEquals("ceiling MET date across DST change-over",
@@ -1373,7 +1373,7 @@
         } else {
             this.warn("WARNING: Some date ceiling tests not run since the 
current version is " + SystemUtils.JAVA_VERSION);
         }
-       TimeZone.setDefault(defaultZone);
+        TimeZone.setDefault(defaultZone);
         dateTimeParser.setTimeZone(defaultZone);
         
      // Bug 31395, large dates


Reply via email to