commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1582699 - in /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3: ./ builder/ exception/ text/
Date Fri, 28 Mar 2014 11:15:32 GMT
Author: sebb
Date: Fri Mar 28 11:15:32 2014
New Revision: 1582699

URL: http://svn.apache.org/r1582699
Log:
Tab police (added by pesky IDE)

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/CompositeFormatTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java Fri
Mar 28 11:15:32 2014
@@ -1244,7 +1244,7 @@ public class ArrayUtilsTest  {
 
     }
 
-	@Test
+    @Test
     public void testSubarrayFloat() {
         final float[] nullArray = null;
         final float[] array = { 10, 11, 12, 13, 14, 15 };

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
Fri Mar 28 11:15:32 2014
@@ -378,13 +378,13 @@ public class LocaleUtilsTest  {
      */
     @Test
     public void testThreeCharsLocale() {
-    	for (String str : Arrays.asList("udm", "tet")) {
-        	Locale locale = LocaleUtils.toLocale(str);
-        	assertNotNull(locale);
-        	assertEquals(str, locale.getLanguage());
-        	assertTrue(StringUtils.isBlank(locale.getCountry()));
-        	assertEquals(new Locale(str), locale);	
-    	}
+        for (String str : Arrays.asList("udm", "tet")) {
+            Locale locale = LocaleUtils.toLocale(str);
+            assertNotNull(locale);
+            assertEquals(str, locale.getLanguage());
+            assertTrue(StringUtils.isBlank(locale.getCountry()));
+            assertEquals(new Locale(str), locale);
+        }
     }
 
     //-----------------------------------------------------------------------

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringStyleTest.java
Fri Mar 28 11:15:32 2014
@@ -28,7 +28,7 @@ import org.junit.Test;
 public class ToStringStyleTest {
 
     private static class ToStringStyleImpl extends ToStringStyle {
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
     }
 

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ContextedRuntimeExceptionTest.java
Fri Mar 28 11:15:32 2014
@@ -81,7 +81,7 @@ public class ContextedRuntimeExceptionTe
     public void testContextedExceptionStringThrowableContext() {
         // Use an anonymous subclass to make sure users can provide custom implementations
         exceptionContext = new ContextedRuntimeException(TEST_MESSAGE_2, new Exception(TEST_MESSAGE),

-        		new DefaultExceptionContext() {private static final long serialVersionUID = 1L;});
+        new DefaultExceptionContext() {private static final long serialVersionUID = 1L;});
         final String message = exceptionContext.getMessage();
         final String trace = ExceptionUtils.getStackTrace(exceptionContext);
         assertTrue(trace.indexOf("ContextedException")>=0);

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
Fri Mar 28 11:15:32 2014
@@ -488,7 +488,7 @@ public class ExceptionUtilsTest {
      * of <code>Throwable</code>.
      */
     private static class ExceptionWithCause extends Exception {
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
         private Throwable cause;
 
@@ -518,7 +518,7 @@ public class ExceptionUtilsTest {
      * return value of <code>Throwable</code>.
      */
     private static class ExceptionWithoutCause extends Exception {
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
        @SuppressWarnings("unused")
         public void getTargetException() {
@@ -528,7 +528,7 @@ public class ExceptionUtilsTest {
     // Temporary classes to allow the nested exception code to be removed 
     // prior to a rewrite of this test class. 
     private static class NestableException extends Exception { 
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
         @SuppressWarnings("unused")
         public NestableException() { super(); }

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/CompositeFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/CompositeFormatTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/CompositeFormatTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/CompositeFormatTest.java
Fri Mar 28 11:15:32 2014
@@ -37,9 +37,9 @@ public class CompositeFormatTest {
     public void testCompositeFormat() {
 
         final Format parser = new Format() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
-			@Override
+            @Override
             public StringBuffer format(final Object obj, final StringBuffer toAppendTo, final
FieldPosition pos) {
                 throw new UnsupportedOperationException("Not implemented");
             }
@@ -51,9 +51,9 @@ public class CompositeFormatTest {
         };
 
         final Format formatter = new Format() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
-			@Override
+            @Override
             public StringBuffer format(final Object obj, final StringBuffer toAppendTo, final
FieldPosition pos) {
                 return null;    // do nothing
             }

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
Fri Mar 28 11:15:32 2014
@@ -394,7 +394,7 @@ public class ExtendedMessageFormatTest {
      * {@link Format} implementation which converts to lower case.
      */
     private static class LowerCaseFormat extends Format {
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
         @Override
         public StringBuffer format(final Object obj, final StringBuffer toAppendTo, final
FieldPosition pos) {
@@ -408,7 +408,7 @@ public class ExtendedMessageFormatTest {
      * {@link Format} implementation which converts to upper case.
      */
     private static class UpperCaseFormat extends Format {
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
         @Override
         public StringBuffer format(final Object obj, final StringBuffer toAppendTo, final
FieldPosition pos) {
@@ -457,7 +457,7 @@ public class ExtendedMessageFormatTest {
      * Alternative ExtendedMessageFormat impl.
      */
     private static class OtherExtendedMessageFormat extends ExtendedMessageFormat {
-		private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = 1L;
 
         public OtherExtendedMessageFormat(final String pattern, final Locale locale,
                 final Map<String, ? extends FormatFactory> registry) {

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java?rev=1582699&r1=1582698&r2=1582699&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
Fri Mar 28 11:15:32 2014
@@ -548,7 +548,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_FormattedString() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final String str) {
@@ -586,7 +586,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_String() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final String str) {
@@ -610,7 +610,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_String_int_int() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final String str, final int startIndex, final int length)
{
@@ -634,7 +634,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_StringBuffer() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final StringBuffer str) {
@@ -658,7 +658,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_StringBuilder() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final StringBuilder str) {
@@ -682,7 +682,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_StringBuffer_int_int() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final StringBuffer str, final int startIndex, final
int length) {
@@ -706,7 +706,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_StringBuilder_int_int() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final StringBuilder str, final int startIndex, final
int length) {
@@ -730,7 +730,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_StrBuilder() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final StrBuilder str) {
@@ -754,7 +754,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_StrBuilder_int_int() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final StrBuilder str, final int startIndex, final int
length) {
@@ -778,7 +778,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_CharArray() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final char[] str) {
@@ -802,7 +802,7 @@ public class StrBuilderAppendInsertTest 
     public void testAppendln_CharArray_int_int() {
         final int[] count = new int[2];
         final StrBuilder sb = new StrBuilder() {
-			private static final long serialVersionUID = 1L;
+            private static final long serialVersionUID = 1L;
 
             @Override
             public StrBuilder append(final char[] str, final int startIndex, final int length)
{



Mime
View raw message