commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1452028 [4/7] - in /commons/proper/beanutils/trunk/src: changes/ main/java/org/apache/commons/beanutils/ main/java/org/apache/commons/beanutils/converters/ main/java/org/apache/commons/beanutils/locale/ main/java/org/apache/commons/beanuti...
Date Sun, 03 Mar 2013 11:19:54 GMT
Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanToPropertyValueTransformerTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanToPropertyValueTransformerTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanToPropertyValueTransformerTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanToPropertyValueTransformerTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,16 +5,16 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
- 
+ */
+
 package org.apache.commons.beanutils;
 
 import junit.framework.TestCase;
@@ -26,7 +26,7 @@ import junit.framework.TestCase;
  * @author Norm Deane
  */
 public class BeanToPropertyValueTransformerTestCase extends TestCase {
-   
+
     private static final Integer expectedIntegerValue = new Integer(123);
     private static final Long expectedLongValue = new Long(123);
     private static final Float expectedFloatValue = new Float(123.123f);
@@ -47,7 +47,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple String property.
      */
     public void testTransformWithSimpleStringProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("stringProperty");
         TestBean testBean = new TestBean("foo");
         assertEquals("foo", transformer.transform(testBean));
@@ -58,7 +58,7 @@ public class BeanToPropertyValueTransfor
      *
      */
     public void testTransformWithSimpleStringPropertyAndNullValue() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("stringProperty");
         TestBean testBean = new TestBean((String) null);
         assertNull(transformer.transform(testBean));
@@ -68,7 +68,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple int property.
      */
     public void testTransformWithSimpleIntProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("intProperty");
         TestBean testBean = new TestBean(expectedIntegerValue.intValue());
         assertEquals(expectedIntegerValue, transformer.transform(testBean));
@@ -78,7 +78,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple long property.
      */
     public void testTransformWithSimpleLongProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("longProperty");
         TestBean testBean = new TestBean();
         testBean.setLongProperty(expectedLongValue.longValue());
@@ -89,7 +89,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple float property.
      */
     public void testTransformWithSimpleFloatProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("floatProperty");
         TestBean testBean = new TestBean(expectedFloatValue.floatValue());
         assertEquals(expectedFloatValue, transformer.transform(testBean));
@@ -99,7 +99,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple double property.
      */
     public void testTransformWithSimpleDoubleProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("doubleProperty");
         TestBean testBean = new TestBean(expectedDoubleValue.doubleValue());
         assertEquals(expectedDoubleValue, transformer.transform(testBean));
@@ -109,7 +109,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple byte property.
      */
     public void testTransformWithSimpleByteProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("byteProperty");
         TestBean testBean = new TestBean();
         testBean.setByteProperty(expectedByteValue.byteValue());
@@ -120,7 +120,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with simple boolean property.
      */
     public void testTransformWithSimpleBooleanProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("booleanProperty");
         TestBean testBean = new TestBean(expectedBooleanValue.booleanValue());
         assertEquals(expectedBooleanValue, transformer.transform(testBean));
@@ -132,7 +132,7 @@ public class BeanToPropertyValueTransfor
     public void testTransformWithWriteOnlyProperty() {
         try {
             new BeanToPropertyValueTransformer("writeOnlyProperty").transform(new TestBean());
-        } catch (IllegalArgumentException e) { 
+        } catch (IllegalArgumentException e) {
             /* This is what should happen */
         }
     }
@@ -141,7 +141,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with read only property.
      */
     public void testTransformWithReadOnlyProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("readOnlyProperty");
         TestBean testBean = new TestBean();
         assertEquals(testBean.getReadOnlyProperty(), transformer.transform(testBean));
@@ -153,7 +153,7 @@ public class BeanToPropertyValueTransfor
     public void testTransformWithInvalidProperty() {
         try {
             new BeanToPropertyValueTransformer("bogusProperty").transform(new TestBean());
-        } catch (IllegalArgumentException e) { 
+        } catch (IllegalArgumentException e) {
             /* This is what should happen */
         }
     }
@@ -162,7 +162,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with nested property.
      */
     public void testTransformWithNestedProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("anotherNested.stringProperty");
         TestBean testBean = new TestBean();
         TestBean nestedBean = new TestBean("foo");
@@ -174,7 +174,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with mapped property.
      */
     public void testTransformWithMappedProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("mappedProperty(test-key)");
         TestBean testBean = new TestBean();
 
@@ -191,7 +191,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with indexed property.
      */
     public void testTransformWithIndexedProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("intIndexed[0]");
         TestBean testBean = new TestBean();
         testBean.setIntIndexed(0, expectedIntegerValue.intValue());
@@ -203,7 +203,7 @@ public class BeanToPropertyValueTransfor
         try {
             transformer.transform(testBean);
             fail("Should have thrown an ArrayIndexOutOfBoundsException");
-        } catch (ArrayIndexOutOfBoundsException e) { 
+        } catch (ArrayIndexOutOfBoundsException e) {
             /* this is what should happen */
         }
     }
@@ -212,7 +212,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with nested indexed property.
      */
     public void testTransformWithNestedIndexedProperty() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("anotherNested.intIndexed[0]");
         TestBean testBean = new TestBean();
         TestBean nestedBean = new TestBean();
@@ -225,13 +225,13 @@ public class BeanToPropertyValueTransfor
      * Test transform with null in property path.
      */
     public void testTransformWithNullInPath() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("anotherNested.stringProperty");
 
         try {
             transformer.transform(new TestBean());
             fail("Should have throw IllegalArgumentException");
-        } catch (IllegalArgumentException e) { 
+        } catch (IllegalArgumentException e) {
             /* ignore this is what should happen */
         }
     }
@@ -240,7 +240,7 @@ public class BeanToPropertyValueTransfor
      * Test transform with null in property path and ignore = true.
      */
     public void testTransformWithNullInPathAndIgnoreTrue() {
-        BeanToPropertyValueTransformer transformer = 
+        BeanToPropertyValueTransformer transformer =
             new BeanToPropertyValueTransformer("anotherNested.stringProperty",true);
         assertEquals(null, transformer.transform(new TestBean()));
     }

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanUtilsBenchCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanUtilsBenchCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanUtilsBenchCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanUtilsBenchCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanWithInnerBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanWithInnerBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanWithInnerBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanWithInnerBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanificationTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanificationTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanificationTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanificationTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
@@ -39,12 +39,12 @@ import org.apache.commons.logging.LogFac
  */
 
 public class BeanificationTestCase extends TestCase {
-    
+
     // ---------------------------------------------------- Constants
-    
+
     /** Maximum number of iterations before our test fails */
     public static final int MAX_GC_ITERATIONS = 50;
-    
+
     // ---------------------------------------------------- Instance Variables
 
 
@@ -91,7 +91,7 @@ public class BeanificationTestCase exten
 
 
     // ------------------------------------------------ Individual Test Methods
-    
+
     /** Test of the methodology we'll use for some of the later tests */
     public void testMemoryTestMethodology() throws Exception {
         // test methodology
@@ -99,13 +99,13 @@ public class BeanificationTestCase exten
         ClassLoader loader = new ClassLoader(this.getClass().getClassLoader()) {};
         WeakReference reference = new  WeakReference(loader);
         Class myClass = loader.loadClass("org.apache.commons.beanutils.BetaBean");
-        
+
         assertNotNull("Weak reference released early", reference.get());
-        
+
         // dereference class loader and class:
         loader = null;
         myClass = null;
-        
+
         int iterations = 0;
         int bytz = 2;
         while(true) {
@@ -115,7 +115,7 @@ public class BeanificationTestCase exten
             }
             if( reference.get() == null ) {
                 break;
-                
+
             } else {
                 // create garbage:
                 byte[] b =  new byte[bytz];
@@ -123,35 +123,35 @@ public class BeanificationTestCase exten
             }
         }
     }
-    
+
     /** Tests whether classloaders and beans are released from memory by the map used by beanutils */
     public void testMemoryLeak2() throws Exception {
         // tests when the map used by beanutils has the right behaviour
-        
+
         if (BeanUtilsTestCase.isPre14JVM()) {
             System.out.println("WARNING: CANNOT TEST MEMORY LEAK ON PRE1.4 JVM");
             return;
         }
-        
+
         // many thanks to Juozas Baliuka for suggesting this methodology
         TestClassLoader loader = new TestClassLoader();
         ReferenceQueue queue = new ReferenceQueue();
         WeakReference loaderReference = new WeakReference(loader, queue);
         Integer test = new Integer(1);
-        
+
         WeakReference testReference = new WeakReference(test, queue);
         //Map map = new ReferenceMap(ReferenceMap.WEAK, ReferenceMap.HARD, true);
         Map map = new WeakHashMap();
         map.put(loader, test);
-        
+
         assertEquals("In map", test, map.get(loader));
         assertNotNull("Weak reference released early (1)", loaderReference.get());
         assertNotNull("Weak reference released early (2)", testReference.get());
-        
+
         // dereference strong references
         loader = null;
         test = null;
-        
+
         int iterations = 0;
         int bytz = 2;
         while(true) {
@@ -160,12 +160,12 @@ public class BeanificationTestCase exten
                 fail("Max iterations reached before resource released.");
             }
             map.isEmpty();
-            
-            if( 
+
+            if(
                 loaderReference.get() == null &&
                 testReference.get() == null) {
                 break;
-                
+
             } else {
                 // create garbage:
                 byte[] b =  new byte[bytz];
@@ -173,27 +173,27 @@ public class BeanificationTestCase exten
             }
         }
     }
-    
+
     /** Tests whether classloaders and beans are released from memory */
     public void testMemoryLeak() throws Exception {
         if (BeanUtilsTestCase.isPre14JVM()) {
             System.out.println("WARNING: CANNOT TEST MEMORY LEAK ON PRE1.4 JVM");
             return;
         }
-        
+
         // many thanks to Juozas Baliuka for suggesting this methodology
         TestClassLoader loader = new TestClassLoader();
         WeakReference loaderReference = new  WeakReference(loader);
         BeanUtilsBean.getInstance();
 
         class GetBeanUtilsBeanThread extends Thread {
-            
+
             BeanUtilsBean beanUtils;
             ConvertUtilsBean convertUtils;
             PropertyUtilsBean propertyUtils;
-        
+
             GetBeanUtilsBeanThread() {}
-            
+
             public void run() {
                 beanUtils = BeanUtilsBean.getInstance();
                 convertUtils = ConvertUtilsBean.getInstance();
@@ -201,34 +201,34 @@ public class BeanificationTestCase exten
                 // XXX Log keeps a reference around!
                 LogFactory.releaseAll();
             }
-            
+
             public String toString() {
                 return "GetBeanUtilsBeanThread";
             }
         }
-        
-    
+
+
         GetBeanUtilsBeanThread thread = new GetBeanUtilsBeanThread();
         WeakReference threadWeakReference = new WeakReference(thread);
         thread.setContextClassLoader(loader);
 
         thread.start();
         thread.join();
-        
+
         WeakReference beanUtilsReference = new WeakReference(thread.beanUtils);
         WeakReference propertyUtilsReference =  new WeakReference(thread.propertyUtils);
         WeakReference convertUtilsReference = new WeakReference(thread.convertUtils);
-        
+
         assertNotNull("Weak reference released early (1)", loaderReference.get());
         assertNotNull("Weak reference released early (2)", beanUtilsReference.get());
         assertNotNull("Weak reference released early (3)", propertyUtilsReference.get());
         assertNotNull("Weak reference released early (4)", convertUtilsReference.get());
-        
+
         // dereference strong references
         loader = null;
         thread.setContextClassLoader(null);
         thread = null;
-        
+
         int iterations = 0;
         int bytz = 2;
         while(true) {
@@ -238,13 +238,13 @@ public class BeanificationTestCase exten
                 fail("Max iterations reached before resource released.");
             }
 
-            if( 
+            if(
                 loaderReference.get() == null &&
-                beanUtilsReference.get() == null && 
-                propertyUtilsReference.get() == null && 
+                beanUtilsReference.get() == null &&
+                propertyUtilsReference.get() == null &&
                 convertUtilsReference.get() == null) {
                 break;
-                
+
             } else {
                 // create garbage:
                 byte[] b =  new byte[bytz];
@@ -252,112 +252,112 @@ public class BeanificationTestCase exten
             }
         }
     }
-    
-    /** 
-     * Tests whether difference instances are loaded by different 
+
+    /**
+     * Tests whether difference instances are loaded by different
      * context classloaders.
      */
     public void testGetByContextClassLoader() throws Exception {
-            
+
         class GetBeanUtilsBeanThread extends Thread {
-            
+
             private final Signal signal;
-        
+
             GetBeanUtilsBeanThread(Signal signal) {
                 this.signal = signal;
             }
-            
+
             public void run() {
                 signal.setSignal(2);
                 signal.setBean(BeanUtilsBean.getInstance());
                 signal.setConvertUtils(ConvertUtilsBean.getInstance());
                 signal.setPropertyUtils(PropertyUtilsBean.getInstance());
             }
-            
+
             public String toString() {
                 return "GetBeanUtilsBeanThread";
             }
         }
-            
+
         Signal signal = new Signal();
         signal.setSignal(1);
-        
+
         GetBeanUtilsBeanThread thread = new GetBeanUtilsBeanThread(signal);
         thread.setContextClassLoader(new TestClassLoader());
-        
+
         thread.start();
         thread.join();
-        
+
         assertEquals("Signal not set by test thread", 2, signal.getSignal());
         assertTrue(
-                    "Different BeanUtilsBean instances per context classloader", 
+                    "Different BeanUtilsBean instances per context classloader",
                     BeanUtilsBean.getInstance() != signal.getBean());
         assertTrue(
-                    "Different ConvertUtilsBean instances per context classloader", 
-                    ConvertUtilsBean.getInstance() != signal.getConvertUtils());                    
+                    "Different ConvertUtilsBean instances per context classloader",
+                    ConvertUtilsBean.getInstance() != signal.getConvertUtils());
         assertTrue(
-                    "Different PropertyUtilsBean instances per context classloader", 
-                    PropertyUtilsBean.getInstance() != signal.getPropertyUtils());        
+                    "Different PropertyUtilsBean instances per context classloader",
+                    PropertyUtilsBean.getInstance() != signal.getPropertyUtils());
     }
-    
-    
-    /** 
-     * Tests whether difference instances are loaded by different 
+
+
+    /**
+     * Tests whether difference instances are loaded by different
      * context classloaders.
      */
     public void testContextClassLoaderLocal() throws Exception {
-            
+
         class CCLLTesterThread extends Thread {
-            
+
             private final Signal signal;
             private final ContextClassLoaderLocal ccll;
-        
+
             CCLLTesterThread(Signal signal, ContextClassLoaderLocal ccll) {
                 this.signal = signal;
                 this.ccll = ccll;
             }
-            
+
             public void run() {
                 ccll.set(new Integer(1789));
                 signal.setSignal(2);
                 signal.setMarkerObject(ccll.get());
             }
-            
+
             public String toString() {
                 return "CCLLTesterThread";
             }
         }
-            
+
         ContextClassLoaderLocal ccll = new ContextClassLoaderLocal();
         ccll.set(new Integer(1776));
-        assertEquals("Start thread sets value", new Integer(1776), ccll.get());  
-        
+        assertEquals("Start thread sets value", new Integer(1776), ccll.get());
+
         Signal signal = new Signal();
         signal.setSignal(1);
-        
+
         CCLLTesterThread thread = new CCLLTesterThread(signal, ccll);
         thread.setContextClassLoader(new TestClassLoader());
-        
+
         thread.start();
         thread.join();
-        
-        assertEquals("Signal not set by test thread", 2, signal.getSignal());     
-        assertEquals("Second thread preserves value", new Integer(1776), ccll.get()); 
-        assertEquals("Second thread gets value it set", new Integer(1789), signal.getMarkerObject()); 
+
+        assertEquals("Signal not set by test thread", 2, signal.getSignal());
+        assertEquals("Second thread preserves value", new Integer(1776), ccll.get());
+        assertEquals("Second thread gets value it set", new Integer(1789), signal.getMarkerObject());
     }
-    
+
     /** Tests whether calls are independent for different classloaders */
     public void testContextClassloaderIndependence() throws Exception {
-    
+
         class TestIndependenceThread extends Thread {
             private final Signal signal;
             private final PrimitiveBean bean;
-        
+
             TestIndependenceThread(Signal signal, PrimitiveBean bean) {
                 this.signal = signal;
                 this.bean = bean;
             }
-            
+
             public void run() {
                 try {
                     signal.setSignal(3);
@@ -372,12 +372,12 @@ public class BeanificationTestCase exten
                     signal.setException(e);
                 }
             }
-            
+
             public String toString() {
                 return "TestIndependenceThread";
             }
         }
-        
+
         PrimitiveBean bean = new PrimitiveBean();
         BeanUtils.setProperty(bean, "int", new Integer(1));
         assertEquals("Wrong property value (1)", 1, bean.getInt());
@@ -389,83 +389,83 @@ public class BeanificationTestCase exten
                                     }, Integer.TYPE);
         BeanUtils.setProperty(bean, "int", new Integer(1));
         assertEquals("Wrong property value(2)", 5, bean.getInt());
-    
+
         Signal signal = new Signal();
         signal.setSignal(1);
         TestIndependenceThread thread = new TestIndependenceThread(signal, bean);
         thread.setContextClassLoader(new TestClassLoader());
-        
+
         thread.start();
         thread.join();
-        
+
         assertNull("Exception thrown by test thread:" + signal.getException(), signal.getException());
         assertEquals("Signal not set by test thread", 3, signal.getSignal());
         assertEquals("Wrong property value(3)", 9, bean.getInt());
-        
+
     }
-    
+
     /** Tests whether different threads can set beanutils instances correctly */
     public void testBeanUtilsBeanSetInstance() throws Exception {
-            
+
         class SetInstanceTesterThread extends Thread {
-            
+
             private final Signal signal;
             private final BeanUtilsBean bean;
-        
+
             SetInstanceTesterThread(Signal signal, BeanUtilsBean bean) {
                 this.signal = signal;
                 this.bean = bean;
             }
-            
+
             public void run() {
                 BeanUtilsBean.setInstance(bean);
                 signal.setSignal(21);
                 signal.setBean(BeanUtilsBean.getInstance());
             }
-            
+
             public String toString() {
                 return "SetInstanceTesterThread";
             }
         }
-        
+
         Signal signal = new Signal();
         signal.setSignal(1);
 
         BeanUtilsBean beanOne = new BeanUtilsBean();
         BeanUtilsBean beanTwo = new BeanUtilsBean();
-        
+
         SetInstanceTesterThread thread = new SetInstanceTesterThread(signal, beanTwo);
         thread.setContextClassLoader(new TestClassLoader());
-        
+
         BeanUtilsBean.setInstance(beanOne);
-        assertEquals("Start thread gets right instance", beanOne, BeanUtilsBean.getInstance()); 
-        
+        assertEquals("Start thread gets right instance", beanOne, BeanUtilsBean.getInstance());
+
         thread.start();
         thread.join();
-        
-        assertEquals("Signal not set by test thread", 21, signal.getSignal());     
-        assertEquals("Second thread preserves value", beanOne, BeanUtilsBean.getInstance()); 
-        assertEquals("Second thread gets value it set", beanTwo, signal.getBean()); 
+
+        assertEquals("Signal not set by test thread", 21, signal.getSignal());
+        assertEquals("Second thread preserves value", beanOne, BeanUtilsBean.getInstance());
+        assertEquals("Second thread gets value it set", beanTwo, signal.getBean());
     }
-    
+
     /** Tests whether the unset method works*/
     public void testContextClassLoaderUnset() throws Exception {
         BeanUtilsBean beanOne = new BeanUtilsBean();
         ContextClassLoaderLocal ccll = new ContextClassLoaderLocal();
         ccll.set(beanOne);
-        assertEquals("Start thread gets right instance", beanOne, ccll.get()); 
+        assertEquals("Start thread gets right instance", beanOne, ccll.get());
         ccll.unset();
-        assertTrue("Unset works", !beanOne.equals(ccll.get())); 
+        assertTrue("Unset works", !beanOne.equals(ccll.get()));
     }
-    
+
     // ---- Auxillary classes
-    
+
     class TestClassLoader extends ClassLoader {
         public String toString() {
             return "TestClassLoader";
         }
     }
-    
+
     class Signal {
         private Exception e;
         private int signal = 0;
@@ -473,51 +473,51 @@ public class BeanificationTestCase exten
         private PropertyUtilsBean propertyUtils;
         private ConvertUtilsBean convertUtils;
         private Object marker;
-        
+
         public Exception getException() {
             return e;
         }
-        
+
         public void setException(Exception e) {
             this.e = e;
         }
-        
+
         public int getSignal() {
             return signal;
         }
-        
+
         public void setSignal(int signal) {
             this.signal = signal;
         }
-        
+
         public Object getMarkerObject() {
             return marker;
         }
-        
+
         public void setMarkerObject(Object marker) {
             this.marker = marker;
         }
-        
+
         public BeanUtilsBean getBean() {
             return bean;
         }
-        
+
         public void setBean(BeanUtilsBean bean) {
             this.bean = bean;
         }
-        
+
         public PropertyUtilsBean getPropertyUtils() {
             return propertyUtils;
         }
-        
+
         public void setPropertyUtils(PropertyUtilsBean propertyUtils) {
             this.propertyUtils = propertyUtils;
         }
-        
+
         public ConvertUtilsBean getConvertUtils() {
             return convertUtils;
         }
-        
+
         public void setConvertUtils(ConvertUtilsBean convertUtils) {
             this.convertUtils = convertUtils;
         }

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BenchBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BenchBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BenchBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BenchBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BetaBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BetaBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BetaBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BetaBean.java Sun Mar  3 11:19:49 2013
@@ -5,34 +5,34 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
 public class BetaBean extends AbstractChild {
-    
+
     private String secret = "utah";
-    
+
     public String getSecret() {
         return secret;
     }
-    
+
     public void setNoGetterProperty(String secret) {
         this.secret = secret;
     }
-    
+
     public void setNoGetterMappedProperty(String secret, String key) {
         this.secret = "MAP:" + secret;
     }
-    
+
     public BetaBean(String name) {
         setName(name);
     }

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/Child.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/Child.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/Child.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/Child.java Sun Mar  3 11:19:49 2013
@@ -5,20 +5,20 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;
 
 public interface Child {
-    
+
     public String getName();
 }

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
@@ -638,23 +638,23 @@ public class ConvertUtilsTestCase extend
         DateFormat fmt = new SimpleDateFormat("M/d/yy"); /* US Short Format */
         String expected = fmt.format(today);
         assertEquals("DateConverter M/d/yy", expected, utils.convert(today, String.class));
-        
+
         // Date converter doesn't do String conversion - use String Converter
         utils.register(dummyConverter, java.util.Date.class);
         assertEquals("Date Converter doesn't do String conversion", "Foo-Converter", utils.convert(today, String.class));
-        
+
         // No registered Date converter - use String Converter
         utils.deregister(java.util.Date.class);
         assertEquals("No registered Date converter", "Foo-Converter", utils.convert(today, String.class));
-        
+
         // String Converter doesn't do Strings!!!
         utils.register(dummyConverter, String.class);
         assertEquals("String Converter doesn't do Strings!!!", today.toString(), utils.convert(today, String.class));
-        
+
         // No registered Date or String converter - use Object's toString()
         utils.deregister(String.class);
         assertEquals("Object's toString()", today.toString(), utils.convert(today, String.class));
-        
+
     }
 
     // -------------------------------------------------------- Private Methods

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java Sun Mar  3 11:19:49 2013
@@ -13,7 +13,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils;
 
 import java.util.ArrayList;
@@ -87,7 +87,7 @@ public class DynaBeanMapDecoratorTestCas
      */
     public void setUp() throws Exception {
 
-        mapVal.clear(); 
+        mapVal.clear();
         mapVal.put("key1", "key1Value");
         mapVal.put("key2", "key2Value");
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanUtilsTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanUtilsTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanUtilsTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils;
 
 import junit.framework.Test;
@@ -35,7 +35,7 @@ public class DynaPropertyTestCase extend
     private DynaProperty testProperty2Duplicate;
     private DynaProperty testPropertyWithNameAndTypeAndContentType;
     private DynaProperty testProperty3Duplicate;
-    
+
     /**
      * Construct a new instance of this test case.
      *
@@ -61,7 +61,7 @@ public class DynaPropertyTestCase extend
     protected void setUp() throws Exception {
 
         super.setUp();
-        
+
         testPropertyWithName = new DynaProperty("test1");
         testProperty1Duplicate = new DynaProperty("test1");
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyUtilsTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyUtilsTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyUtilsTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyUtilsTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;
@@ -221,7 +221,7 @@ public class DynaPropertyUtilsTestCase e
                      ((Short) bean.get("shortProperty")).shortValue());
         assertEquals("stringProperty", "New String Property",
                      (String) bean.get("stringProperty"));
-                     
+
         // Indexed Properties
         String dupProperty[] = (String[]) bean.get("dupProperty");
         assertNotNull("dupProperty present", dupProperty);

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaResultSetTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaResultSetTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaResultSetTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaResultSetTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaRowSetTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaRowSetTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaRowSetTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaRowSetTestCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;
@@ -291,20 +291,20 @@ public class DynaRowSetTestCase extends 
     }
 
     public void testLimitedRows() throws Exception {
-        
+
         // created one with low limit
         RowSetDynaClass limitedDynaClass = new RowSetDynaClass(TestResultSet.createProxy(), 3);
         List rows = limitedDynaClass.getRows();
         assertNotNull("list exists", rows);
         assertEquals("limited row count", 3, rows.size());
-        
+
     }
 
     /**
      * Test issues associated with Oracle JDBC driver.
-     * 
+     *
      * See issue# https://issues.apache.org/jira/browse/BEANUTILS-142
-     * 
+     *
      * @throws Exception if an error occurs
      */
     public void testInconsistentOracleDriver() throws Exception {
@@ -331,7 +331,7 @@ public class DynaRowSetTestCase extends 
         DynaBean firstRow = (DynaBean)inconsistentDynaClass.getRows().get(0);
         Class expectedType = null;
         DynaProperty property = null;
-        
+
         // Test Date
         property = firstRow.getDynaClass().getDynaProperty("dateproperty");
         expectedType = java.sql.Date.class;
@@ -348,7 +348,7 @@ public class DynaRowSetTestCase extends 
     /**
      * A proxy ResultSet implementation that returns Timstamp for a date column.
      *
-     * See issue# https://issues.apache.org/jira/browse/BEANUTILS-142 
+     * See issue# https://issues.apache.org/jira/browse/BEANUTILS-142
      */
     private static class TestResultSetInconsistent extends  TestResultSet {
 
@@ -375,7 +375,7 @@ public class DynaRowSetTestCase extends 
      * A proxy ResultSetMetaData implementation that returns a class name that
      * is inconsistent with the type returned by the ResultSet.getObject() method.
      *
-     * See issue# https://issues.apache.org/jira/browse/BEANUTILS-142 
+     * See issue# https://issues.apache.org/jira/browse/BEANUTILS-142
      */
     private static class TestResultSetMetaDataInconsistent extends  TestResultSetMetaData {
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ExtendMapBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ExtendMapBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ExtendMapBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ExtendMapBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
@@ -21,17 +21,17 @@ import java.util.Hashtable;
 
 
 /**
- * Used to test 
+ * Used to test
  *
  * @author Robert Burrell
  */
 
 public class ExtendMapBean extends Hashtable {
-    
+
     private String dbName = "[UNSET]";
-    
+
     public ExtendMapBean() {}
-    
+
     public String getUnusuallyNamedProperty()
     {
         return dbName;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java Sun Mar  3 11:19:49 2013
@@ -7,15 +7,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
@@ -50,7 +50,7 @@ public class IndexedPropertyTestCase ext
      * The test bean for each test.
      */
     private IndexedTestBean bean = null;
-    private BeanUtilsBean beanUtilsBean; 
+    private BeanUtilsBean beanUtilsBean;
     private PropertyUtilsBean propertyUtilsBean;
     private String[] testArray;
     private String[] newArray;
@@ -134,10 +134,10 @@ public class IndexedPropertyTestCase ext
         try {
             PropertyDescriptor descriptor = propertyUtilsBean.getPropertyDescriptor(bean, "stringArray");
             assertNotNull("No Array Descriptor", descriptor);
-            assertEquals("Not IndexedPropertyDescriptor", 
+            assertEquals("Not IndexedPropertyDescriptor",
                          IndexedPropertyDescriptor.class,
                          descriptor.getClass());
-            assertEquals("PropertDescriptor Type invalid", 
+            assertEquals("PropertDescriptor Type invalid",
                          testArray.getClass(),
                          descriptor.getPropertyType());
         } catch(Exception e) {
@@ -153,10 +153,10 @@ public class IndexedPropertyTestCase ext
         try {
             PropertyDescriptor descriptor = propertyUtilsBean.getPropertyDescriptor(bean, "stringList");
             assertNotNull("No List Descriptor", descriptor);
-            assertEquals("Not IndexedPropertyDescriptor", 
+            assertEquals("Not IndexedPropertyDescriptor",
                          IndexedPropertyDescriptor.class,
                          descriptor.getClass());
-            assertEquals("PropertDescriptor Type invalid", 
+            assertEquals("PropertDescriptor Type invalid",
                          List.class,
                          descriptor.getPropertyType());
         } catch(Exception e) {
@@ -172,10 +172,10 @@ public class IndexedPropertyTestCase ext
         try {
             PropertyDescriptor descriptor = propertyUtilsBean.getPropertyDescriptor(bean, "arrayList");
             assertNotNull("No ArrayList Descriptor", descriptor);
-            assertEquals("Not IndexedPropertyDescriptor", 
+            assertEquals("Not IndexedPropertyDescriptor",
                          IndexedPropertyDescriptor.class,
                          descriptor.getClass());
-            assertEquals("PropertDescriptor Type invalid", 
+            assertEquals("PropertDescriptor Type invalid",
                          ArrayList.class,
                          descriptor.getPropertyType());
         } catch(Exception e) {
@@ -189,7 +189,7 @@ public class IndexedPropertyTestCase ext
     public void testArrayReadMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringArray");
             assertNotNull("No Array Read Method", descriptor.getReadMethod());
         } catch(Exception e) {
@@ -203,7 +203,7 @@ public class IndexedPropertyTestCase ext
     public void testArrayWriteMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringArray");
             assertNotNull("No Array Write Method", descriptor.getWriteMethod());
         } catch(Exception e) {
@@ -217,7 +217,7 @@ public class IndexedPropertyTestCase ext
     public void testArrayIndexedReadMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringArray");
             assertNotNull("No Array Indexed Read Method", descriptor.getIndexedReadMethod());
         } catch(Exception e) {
@@ -231,7 +231,7 @@ public class IndexedPropertyTestCase ext
     public void testArrayIndexedWriteMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringArray");
             assertNotNull("No Array Indexed Write Method", descriptor.getIndexedWriteMethod());
         } catch(Exception e) {
@@ -249,7 +249,7 @@ public class IndexedPropertyTestCase ext
     public void testListReadMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringList");
             assertNotNull("No List Read Method", descriptor.getReadMethod());
         } catch(Exception e) {
@@ -267,7 +267,7 @@ public class IndexedPropertyTestCase ext
     public void testListWriteMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringList");
             assertNotNull("No List Write Method", descriptor.getWriteMethod());
         } catch(Exception e) {
@@ -281,7 +281,7 @@ public class IndexedPropertyTestCase ext
     public void testListIndexedReadMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringList");
             assertNotNull("No List Indexed Read Method", descriptor.getIndexedReadMethod());
         } catch(Exception e) {
@@ -295,7 +295,7 @@ public class IndexedPropertyTestCase ext
     public void testListIndexedWriteMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "stringList");
             assertNotNull("No List Indexed Write Method", descriptor.getIndexedWriteMethod());
         } catch(Exception e) {
@@ -309,7 +309,7 @@ public class IndexedPropertyTestCase ext
     public void testArrayListReadMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "arrayList");
             assertNotNull("No ArrayList Read Method", descriptor.getReadMethod());
         } catch(Exception e) {
@@ -323,7 +323,7 @@ public class IndexedPropertyTestCase ext
     public void testArrayListWriteMethod() {
 
         try {
-            IndexedPropertyDescriptor descriptor = 
+            IndexedPropertyDescriptor descriptor =
                  (IndexedPropertyDescriptor)propertyUtilsBean.getPropertyDescriptor(bean, "arrayList");
             assertNotNull("No ArrayList Write Method", descriptor.getWriteMethod());
         } catch(Exception e) {
@@ -336,7 +336,7 @@ public class IndexedPropertyTestCase ext
      */
     public void testGetArray() {
         try {
-            assertEquals(testArray, 
+            assertEquals(testArray,
                          propertyUtilsBean.getProperty(bean, "stringArray"));
         } catch(Exception e) {
             fail("Threw exception " + e);
@@ -351,7 +351,7 @@ public class IndexedPropertyTestCase ext
      */
     public void testGetArrayAsString() {
         try {
-            assertEquals("array-0", 
+            assertEquals("array-0",
                          beanUtilsBean.getProperty(bean, "stringArray"));
         } catch(Exception e) {
             fail("Threw exception " + e);
@@ -389,12 +389,12 @@ public class IndexedPropertyTestCase ext
      *
      * JDK 1.3.1_04: Test Passes
      * JDK 1.4.2_05: Test Fails - fails NoSuchMethodException, i.e. reason as testListReadMethod()
-     *                            failed.   
+     *                            failed.
      */
     public void testGetList() {
 
         try {
-            assertEquals(testList, 
+            assertEquals(testList,
                          propertyUtilsBean.getProperty(bean, "stringList"));
         } catch(Exception e) {
             fail("Threw exception " + e);
@@ -406,12 +406,12 @@ public class IndexedPropertyTestCase ext
      *
      * JDK 1.3.1_04: Test Passes
      * JDK 1.4.2_05: Test Fails - fails NoSuchMethodException, i.e. reason as testListReadMethod()
-     *                            failed.   
+     *                            failed.
      */
     public void testGetListAsString() {
 
         try {
-            assertEquals("list-0", 
+            assertEquals("list-0",
                          beanUtilsBean.getProperty(bean, "stringList"));
         } catch(Exception e) {
             fail("Threw exception " + e);
@@ -556,7 +556,7 @@ public class IndexedPropertyTestCase ext
     public void testGetArrayList() {
 
         try {
-            assertEquals(arrayList, 
+            assertEquals(arrayList,
                          propertyUtilsBean.getProperty(bean, "arrayList"));
         } catch(Exception e) {
             fail("Threw exception " + e);

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedTestBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedTestBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedTestBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedTestBean.java Sun Mar  3 11:19:49 2013
@@ -7,15 +7,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaListTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaListTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaListTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaListTestCase.java Sun Mar  3 11:19:49 2013
@@ -108,7 +108,7 @@ public class LazyDynaListTestCase extend
         // Create LazyArrayList for DynaBeans
         LazyDynaList list = new LazyDynaList(LazyDynaBean.class);
 
-   
+
         LazyDynaBean bean = new LazyDynaBean();
         bean.set("prop1", "val");
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaMapTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaMapTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaMapTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaMapTestCase.java Sun Mar  3 11:19:49 2013
@@ -490,17 +490,17 @@ public class LazyDynaMapTestCase extends
      */
     public void testNewInstance() {
 
-        // Create LazyDynaMap using TreeMap 
+        // Create LazyDynaMap using TreeMap
         // containing some properties
         LazyDynaMap orig = new LazyDynaMap(new TreeMap());
         orig.set("indexProp", 0, "indexVal0");
         orig.set("indexProp", 1, "indexVal1");
         assertEquals("Index prop size", 2, ((List)orig.get("indexProp")).size());
-        
+
         LazyDynaMap newOne = (LazyDynaMap)orig.newInstance();
         Map newMap = newOne.getMap();
         assertEquals("Check Map type", TreeMap.class, newMap.getClass());
-        
+
         ArrayList indexProp = (ArrayList)newMap.get("indexProp");
         assertNotNull("Indexed Prop missing", indexProp);
         assertEquals("Index prop size", 0, indexProp.size());

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildInterface.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildInterface.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildInterface.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildInterface.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;
@@ -22,7 +22,7 @@ import java.util.HashMap;
 import java.util.Map;
 
 /**
- * Just a java bean (JAJB) to try to replicate a reported bug 
+ * Just a java bean (JAJB) to try to replicate a reported bug
  *
  * @author Robert Burrell Donkin
  * @version $Revision$ $Date$

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestCase.java Sun Mar  3 11:19:49 2013
@@ -79,7 +79,7 @@ public class MappedPropertyTestCase exte
         String property = "mapproperty";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -95,7 +95,7 @@ public class MappedPropertyTestCase exte
         String property = "mappedBoolean";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -111,7 +111,7 @@ public class MappedPropertyTestCase exte
         String property = "xxxxxxx";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             fail("Property '" + property + "' found in " + clazz.getName());
         } catch (Exception ex) {
@@ -126,7 +126,7 @@ public class MappedPropertyTestCase exte
         String property = "mappedGetterOnly";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNull("Setter is found", desc.getMappedWriteMethod());
@@ -142,7 +142,7 @@ public class MappedPropertyTestCase exte
         String property = "mappedSetterOnly";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNull("Getter is found", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -158,7 +158,7 @@ public class MappedPropertyTestCase exte
         String property = "invalidSetter";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNull("Setter is found", desc.getMappedWriteMethod());
@@ -174,7 +174,7 @@ public class MappedPropertyTestCase exte
         String property = "invalidGetter";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNull("Getter is found", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -194,7 +194,7 @@ public class MappedPropertyTestCase exte
         String property = "differentTypes";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNull("Setter is found", desc.getMappedWriteMethod());
@@ -228,7 +228,7 @@ public class MappedPropertyTestCase exte
         String property = "anyMapped";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNull("Getter is found", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -244,7 +244,7 @@ public class MappedPropertyTestCase exte
         String property = "mappedPrimitive";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNull("Getter is found", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -260,7 +260,7 @@ public class MappedPropertyTestCase exte
         String property = "protectedProperty";
         Class clazz = MappedPropertyTestBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             fail("Property '" + property + "' found in " + clazz.getName());
         } catch (Exception ex) {
@@ -276,7 +276,7 @@ public class MappedPropertyTestCase exte
         String property = "mapproperty";
         Class clazz = MappedPropertyChildBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -292,7 +292,7 @@ public class MappedPropertyTestCase exte
         String property = "protectedMapped";
         Class clazz = MappedPropertyChildBean.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             fail("Property '" + property + "' found in " + clazz.getName());
         } catch (Exception ex) {
@@ -307,7 +307,7 @@ public class MappedPropertyTestCase exte
         String property = "mapproperty";
         Class clazz = MappedPropertyTestInterface.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());
@@ -323,7 +323,7 @@ public class MappedPropertyTestCase exte
         String property = "XXXXXX";
         Class clazz = MappedPropertyTestInterface.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             fail("Property '" + property + "' found in " + clazz.getName());
         } catch (Exception ex) {
@@ -337,7 +337,7 @@ public class MappedPropertyTestCase exte
         String property = "mapproperty";
         Class clazz = MappedPropertyChildInterface.class;
         try {
-            MappedPropertyDescriptor desc 
+            MappedPropertyDescriptor desc
                 = new MappedPropertyDescriptor(property, clazz);
             assertNotNull("Getter is missing", desc.getMappedReadMethod());
             assertNotNull("Setter is missing", desc.getMappedWriteMethod());

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestInterface.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestInterface.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestInterface.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestInterface.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/NestedTestBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/NestedTestBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/NestedTestBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/NestedTestBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;
@@ -28,62 +28,62 @@ package org.apache.commons.beanutils;
  */
 
 public class NestedTestBean {
-    
-    
+
+
     // ------------------------------------------------------------- Constructors
     public NestedTestBean(String name) {
         setName(name);
     }
-    
-    
+
+
     // ------------------------------------------------------------- Properties
-    
+
     private String name;
-    
+
     public String getName() {
         return name;
     }
-    
+
     public void setName(String name) {
         this.name = name;
     }
-    
-    
+
+
     private String testString = "NOT SET";
-    
+
     public String getTestString() {
         return testString;
     }
-    
+
     public void setTestString(String testString) {
         this.testString = testString;
     }
-    
-    
+
+
     private boolean testBoolean = false;
-    
+
     public boolean getTestBoolean() {
         return testBoolean;
     }
-    
+
     public void setTestBoolean(boolean testBoolean) {
         this.testBoolean = testBoolean;
-    }    
-    
-    
+    }
+
+
     private NestedTestBean indexedBeans[];
-    
+
     public void init() {
         indexedBeans = new NestedTestBean[5];
         indexedBeans[0] = new NestedTestBean("Bean@0");
-        indexedBeans[1] = new NestedTestBean("Bean@1"); 
-        indexedBeans[2] = new NestedTestBean("Bean@2"); 
-        indexedBeans[3] = new NestedTestBean("Bean@3"); 
+        indexedBeans[1] = new NestedTestBean("Bean@1");
+        indexedBeans[2] = new NestedTestBean("Bean@2");
+        indexedBeans[3] = new NestedTestBean("Bean@3");
         indexedBeans[4] = new NestedTestBean("Bean@4");
-        
+
         simpleBean = new NestedTestBean("Simple Property Bean");
     }
-    
+
     public NestedTestBean getIndexedProperty(int index) {
         return (this.indexedBeans[index]);
     }
@@ -91,13 +91,13 @@ public class NestedTestBean {
     public void setIndexedProperty(int index, NestedTestBean value) {
         this.indexedBeans[index] = value;
     }
-    
+
     private NestedTestBean simpleBean;
-    
+
     public NestedTestBean getSimpleBeanProperty() {
         return simpleBean;
     }
-    
+
     // ------------------------------------------------------- Static Variables
 
 }

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PassTestException.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PassTestException.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PassTestException.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PassTestException.java Sun Mar  3 11:19:49 2013
@@ -5,22 +5,22 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
 
 /**
  * Just a runtime exception. Useful for check that a method is called.
- * 
+ *
  * @author Robert Burrell Donkin
  */
 

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PrimitiveBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PrimitiveBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PrimitiveBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PrimitiveBean.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
@@ -27,43 +27,43 @@ public class PrimitiveBean {
     private boolean _boolean;
     private long _long;
     private int _int;
-    
+
     public float getFloat() {
         return _float;
     }
-    
+
     public void setFloat(float _float) {
         this._float = _float;
     }
-    
+
     public double getDouble() {
         return _double;
     }
-    
+
     public void setDouble(double _double) {
         this._double = _double;
     }
-    
+
     public boolean getBoolean() {
         return _boolean;
     }
-    
+
     public void setBoolean(boolean _boolean) {
         this._boolean = _boolean;
     }
-    
+
     public long getLong() {
         return _long;
     }
-    
+
     public void setLong(long _long) {
         this._long = _long;
     }
-    
+
     public int getInt() {
         return _int;
     }
-    
+
     public void setInt(int _int) {
         this._int = _int;
     }

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropertyUtilsBenchCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropertyUtilsBenchCase.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropertyUtilsBenchCase.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropertyUtilsBenchCase.java Sun Mar  3 11:19:49 2013
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java Sun Mar  3 11:19:49 2013
@@ -30,7 +30,7 @@ public class PropsFirstPropertyUtilsBean
     public PropsFirstPropertyUtilsBean() {
         super();
     }
-    
+
     /**
      * Note: this is a *very rough* override of this method. In particular,
      * it does not handle MAPPED_DELIM and INDEXED_DELIM chars in the
@@ -39,7 +39,7 @@ public class PropsFirstPropertyUtilsBean
      */
     protected Object getPropertyOfMapBean(Map bean, String propertyName)
     throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
-        
+
         PropertyDescriptor descriptor = getPropertyDescriptor(bean, propertyName);
         if (descriptor == null) {
             // no simple property exists so return the value from the map

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/SonOfAlphaBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/SonOfAlphaBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/SonOfAlphaBean.java (original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/SonOfAlphaBean.java Sun Mar  3 11:19:49 2013
@@ -5,21 +5,21 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
 /** @author Robert Burrell Donkin */
 public class SonOfAlphaBean extends AlphaBean {
-    
+
     public SonOfAlphaBean(String name) {
         super(name);
     }



Mime
View raw message