Author: sebb
Date: Thu Sep 27 13:12:09 2012
New Revision: 1390989

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

Modified:
    commons/proper/lang/trunk/build.xml
    
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
    
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java

Modified: commons/proper/lang/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/build.xml?rev=1390989&r1=1390988&r2=1390989&view=diff
==============================================================================
--- commons/proper/lang/trunk/build.xml (original)
+++ commons/proper/lang/trunk/build.xml Thu Sep 27 13:12:09 2012
@@ -42,8 +42,8 @@
         <pathelement location="${build.home}/classes"/>
         <pathelement location="${build.home}/tests"/>
         <pathelement location="${junit.jar}"/>
-       <pathelement location="${easymock.jar}"/>
-       <pathelement location="${commons-io.jar}"/>
+        <pathelement location="${easymock.jar}"/>
+        <pathelement location="${commons-io.jar}"/>
     </path>
 
     <!-- ========== Executable Targets 
======================================== -->

Modified: 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java?rev=1390989&r1=1390988&r2=1390989&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
 (original)
+++ 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
 Thu Sep 27 13:12:09 2012
@@ -107,7 +107,7 @@ public class FastDateParser implements D
      */
     private void init() {
         Calendar definingCalendar = Calendar.getInstance(timeZone, locale);
-               thisYear= definingCalendar.get(Calendar.YEAR);
+        thisYear= definingCalendar.get(Calendar.YEAR);
 
         StringBuilder regex= new StringBuilder();
         List<Strategy> collector = new ArrayList<Strategy>();
@@ -460,7 +460,7 @@ public class FastDateParser implements D
             return formatField.length()>2 ?LITERAL_YEAR_STRATEGY 
:ABBREVIATED_YEAR_STRATEGY;
         case 'Z':
         case 'z':
-               return getLocaleSpecificStrategy(Calendar.ZONE_OFFSET, 
definingCalendar);
+            return getLocaleSpecificStrategy(Calendar.ZONE_OFFSET, 
definingCalendar);
         }
     }
 
@@ -473,12 +473,12 @@ public class FastDateParser implements D
      * @return a cache of Locale to Strategy
      */
     private static ConcurrentMap<Locale, Strategy> getCache(int field) {
-       synchronized(caches) {
-               if(caches[field]==null) {
-                       caches[field]= new 
ConcurrentHashMap<Locale,Strategy>(3);
-               }
-               return caches[field];
-       }
+        synchronized(caches) {
+            if(caches[field]==null) {
+                caches[field]= new ConcurrentHashMap<Locale,Strategy>(3);
+            }
+            return caches[field];
+        }
     }
 
     /**
@@ -489,12 +489,12 @@ public class FastDateParser implements D
      * @return a TextStrategy for the field and Locale
      */
     private Strategy getLocaleSpecificStrategy(int field, Calendar 
definingCalendar) {
-       ConcurrentMap<Locale,Strategy> cache = getCache(field);
-       Strategy strategy= cache.get(Integer.valueOf(field));
+        ConcurrentMap<Locale,Strategy> cache = getCache(field);
+        Strategy strategy= cache.get(Integer.valueOf(field));
         if(strategy==null) {
-               strategy= field==Calendar.ZONE_OFFSET
-                               ? new TimeZoneStrategy(locale)
-                               : new TextStrategy(field, definingCalendar, 
locale);
+            strategy= field==Calendar.ZONE_OFFSET
+                    ? new TimeZoneStrategy(locale)
+                    : new TextStrategy(field, definingCalendar, locale);
             Strategy inCache= cache.putIfAbsent(locale, strategy);
             if(inCache!=null) {
                 return inCache;
@@ -503,7 +503,7 @@ public class FastDateParser implements D
         return strategy;
     }
 
-       /**
+    /**
      * A strategy that copies the static or quoted field in the parsing pattern
      */
     private static class CopyQuotedStrategy implements Strategy {
@@ -546,7 +546,7 @@ public class FastDateParser implements D
         }
     }
 
-       /**
+    /**
      * A strategy that handles a text field in the parsing pattern
      */
      private static class TextStrategy implements Strategy {

Modified: 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java?rev=1390989&r1=1390988&r2=1390989&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
 Thu Sep 27 13:12:09 2012
@@ -77,12 +77,12 @@ public class StringUtilsTest {
     private static final String[] EMPTY_ARRAY_LIST = {};
     private static final String[] NULL_ARRAY_LIST = {null};
     private static final Object[] NULL_TO_STRING_LIST = {
-       new Object(){
-               @Override
-               public String toString() {
-                       return null;
-               }
-       }
+        new Object(){
+            @Override
+            public String toString() {
+                return null;
+            }
+        }
     };
     private static final String[] MIXED_ARRAY_LIST = {null, "", "foo"};
     private static final Object[] MIXED_TYPE_LIST = {"foo", Long.valueOf(2L)};


Reply via email to