commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1452028 [1/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
Author: britter
Date: Sun Mar  3 11:19:49 2013
New Revision: 1452028

URL: http://svn.apache.org/r1452028
Log:
[BEANUTILS-429] - Delete trailing white spaces and white spaces on empty lines from all files

Modified:
    commons/proper/beanutils/trunk/src/changes/changes.xml
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanAccessLanguageException.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanComparator.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPredicate.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueChangeClosure.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanToPropertyValueTransformer.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaProperty.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/NestedNullException.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/RowSetDynaClass.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WeakFastHashMap.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaBean.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/AbstractConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/BooleanConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/StringArrayConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/StringConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtils.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/DecimalLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/DoubleLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/SqlDateLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/SqlTimeLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/SqlTimestampLocaleConverter.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/StringLocaleConverter.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/A.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/AbstractChild.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/AbstractParent.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/AlphaBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BasicDynaBeanTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanComparatorTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanMapTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanPredicateTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanPropertyValueChangeClosureTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicateTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanToPropertyValueTransformerTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanUtilsBenchCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanWithInnerBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BeanificationTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BenchBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/BetaBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/Child.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaBeanUtilsTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaPropertyUtilsTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaResultSetTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/DynaRowSetTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ExtendMapBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/IndexedTestBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaListTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/LazyDynaMapTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyChildInterface.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/MappedPropertyTestInterface.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/NestedTestBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PassTestException.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PrimitiveBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropertyUtilsBenchCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/SonOfAlphaBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/TestBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/TestBeanPackageSubclass.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/TestBeanPublicSubclass.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/TestResultSet.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/TestResultSetMetaData.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/ThrowExceptionConverter.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/WrapDynaBeanTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira157TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira18TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira339TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira345TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira347TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira357TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira358TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira359TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira381TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira92TestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/other/Jira87BeanFactory.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ArrayConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/BigDecimalConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/BigIntegerConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/BooleanConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ByteConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/CalendarConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/CharacterConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ClassConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ClassReloader.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ClassReloaderTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ConverterTestSuite.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/DateConverterTestBase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/DateConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/DoubleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/FileConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/FloatConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/IntegerConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/LongConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/NumberConverterTestBase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/ShortConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/SqlDateConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/SqlTimeConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/SqlTimestampConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/StringArrayConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/converters/URLConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/expression/DefaultResolverTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/LocaleBeanificationTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/LocaleConvertTestSuite.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/BaseLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/ByteLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/DoubleLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/IntegerLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverterTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/MemoryLeakTestCase.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/pojotests/CustomInteger.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/pojotests/SomeMappedPojo.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/memoryleaktests/pojotests/SomePojo.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PackageBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PrivateBean.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PrivateBeanFactory.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PrivateBeanSubclass.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PrivateDirect.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PrivateIndirect.java
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/priv/PublicSubBean.java

Modified: commons/proper/beanutils/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/changes/changes.xml?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/changes/changes.xml (original)
+++ commons/proper/beanutils/trunk/src/changes/changes.xml Sun Mar  3 11:19:49 2013
@@ -40,6 +40,9 @@ The <action> type attribute can be add,u
   <body>
 
     <release version="1.8.4" date="in SVN" description="Bug fix for 1.8.3">
+      <action dev="britter" type="update" issue="BEANUTILS-429" >
+         Delete trailing white spaces and white spaces on empty lines from all files
+      </action>
       <action dev="britter" type="update" issue="BEANUTILS-427" >
          Configure Checkstyle to check for trailing white spaces and white spaces on empty lines
       </action>

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanAccessLanguageException.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanAccessLanguageException.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanAccessLanguageException.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanAccessLanguageException.java Sun Mar  3 11:19:49 2013
@@ -17,7 +17,7 @@
 
 package org.apache.commons.beanutils;
 
-/** 
+/**
  * Thrown to indicate that the <em>Bean Access Language</em> cannot execute query
  * against given bean. This is a runtime exception and access langauges are encouraged
  * to subclass to create custom exceptions whenever appropriate.
@@ -27,19 +27,19 @@ package org.apache.commons.beanutils;
  */
 
 public class BeanAccessLanguageException extends IllegalArgumentException {
-    
+
     // --------------------------------------------------------- Constuctors
-    
-    /** 
+
+    /**
      * Constructs a <code>BeanAccessLanguageException</code> without a detail message.
      */
     public BeanAccessLanguageException() {
         super();
     }
-    
+
     /**
      * Constructs a <code>BeanAccessLanguageException</code> without a detail message.
-     * 
+     *
      * @param message the detail message explaining this exception
      */
     public BeanAccessLanguageException(String message) {

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanComparator.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanComparator.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanComparator.java Sun Mar  3 11:19:49 2013
@@ -24,31 +24,31 @@ import org.apache.commons.collections.co
 
 /**
  * <p>
- * This comparator compares two beans by the specified bean property. 
- * It is also possible to compare beans based on nested, indexed, 
- * combined, mapped bean properties. Please see the {@link PropertyUtilsBean} 
- * documentation for all property name possibilities. 
+ * This comparator compares two beans by the specified bean property.
+ * It is also possible to compare beans based on nested, indexed,
+ * combined, mapped bean properties. Please see the {@link PropertyUtilsBean}
+ * documentation for all property name possibilities.
  *
  * </p><p>
- * <strong>Note:</strong> The BeanComparator passes the values of the specified 
- * bean property to a ComparableComparator, if no comparator is 
- * specified in the constructor. If you are comparing two beans based 
- * on a property that could contain "null" values, a suitable <code>Comparator</code> 
- * or <code>ComparatorChain</code> should be supplied in the constructor. 
+ * <strong>Note:</strong> The BeanComparator passes the values of the specified
+ * bean property to a ComparableComparator, if no comparator is
+ * specified in the constructor. If you are comparing two beans based
+ * on a property that could contain "null" values, a suitable <code>Comparator</code>
+ * or <code>ComparatorChain</code> should be supplied in the constructor.
  * </p>
  *
  * @author     <a href"mailto:epugh@upstate.com">Eric Pugh</a>
- * @author Tim O'Brien 
+ * @author Tim O'Brien
  */
 public class BeanComparator implements Comparator, Serializable {
 
     private String property;
     private Comparator comparator;
 
-    /** 
+    /**
      * <p>Constructs a Bean Comparator without a property set.
      * </p><p>
-     * <strong>Note</strong> that this is intended to be used 
+     * <strong>Note</strong> that this is intended to be used
      * only in bean-centric environments.
      * </p><p>
      * Until {@link #setProperty} is called with a non-null value.
@@ -61,20 +61,20 @@ public class BeanComparator implements C
 
     /**
      * <p>Constructs a property-based comparator for beans.
-     * This compares two beans by the property 
-     * specified in the property parameter. This constructor creates 
+     * This compares two beans by the property
+     * specified in the property parameter. This constructor creates
      * a <code>BeanComparator</code> that uses a <code>ComparableComparator</code>
-     * to compare the property values. 
+     * to compare the property values.
      * </p>
-     * 
-     * <p>Passing "null" to this constructor will cause the BeanComparator 
-     * to compare objects based on natural order, that is 
-     * <code>java.lang.Comparable</code>. 
+     *
+     * <p>Passing "null" to this constructor will cause the BeanComparator
+     * to compare objects based on natural order, that is
+     * <code>java.lang.Comparable</code>.
      * </p>
      *
-     * @param property String Name of a bean property, which may contain the 
-     * name of a simple, nested, indexed, mapped, or combined 
-     * property. See {@link PropertyUtilsBean} for property query language syntax. 
+     * @param property String Name of a bean property, which may contain the
+     * name of a simple, nested, indexed, mapped, or combined
+     * property. See {@link PropertyUtilsBean} for property query language syntax.
      * If the property passed in is null then the actual objects will be compared
      */
     public BeanComparator( String property ) {
@@ -83,18 +83,18 @@ public class BeanComparator implements C
 
     /**
      * Constructs a property-based comparator for beans.
-     * This constructor creates 
-     * a BeanComparator that uses the supplied Comparator to compare 
-     * the property values. 
-     * 
-     * @param property Name of a bean property, can contain the name 
-     * of a simple, nested, indexed, mapped, or combined 
-     * property. See {@link PropertyUtilsBean} for property query language  
-     * syntax. 
-     * @param comparator BeanComparator will pass the values of the 
-     * specified bean property to this Comparator. 
-     * If your bean property is not a comparable or 
-     * contains null values, a suitable comparator 
+     * This constructor creates
+     * a BeanComparator that uses the supplied Comparator to compare
+     * the property values.
+     *
+     * @param property Name of a bean property, can contain the name
+     * of a simple, nested, indexed, mapped, or combined
+     * property. See {@link PropertyUtilsBean} for property query language
+     * syntax.
+     * @param comparator BeanComparator will pass the values of the
+     * specified bean property to this Comparator.
+     * If your bean property is not a comparable or
+     * contains null values, a suitable comparator
      * may be supplied in this constructor.
      */
     public BeanComparator( String property, Comparator comparator ) {
@@ -109,7 +109,7 @@ public class BeanComparator implements C
     /**
      * Sets the method to be called to compare two JavaBeans
      *
-     * @param property String method name to call to compare 
+     * @param property String method name to call to compare
      * If the property passed in is null then the actual objects will be compared
      */
     public void setProperty( String property ) {
@@ -120,7 +120,7 @@ public class BeanComparator implements C
     /**
      * Gets the property attribute of the BeanComparator
      *
-     * @return String method name to call to compare. 
+     * @return String method name to call to compare.
      * A null value indicates that the actual objects will be compared
      */
     public String getProperty() {
@@ -131,7 +131,7 @@ public class BeanComparator implements C
     /**
      * Gets the Comparator being used to compare beans.
      *
-     * @return the Comparator being used to compare beans 
+     * @return the Comparator being used to compare beans
      */
     public Comparator getComparator() {
         return comparator;
@@ -147,12 +147,12 @@ public class BeanComparator implements C
      * @return int negative or positive based on order
      */
     public int compare( Object o1, Object o2 ) {
-        
+
         if ( property == null ) {
             // compare the actual objects
             return comparator.compare( o1, o2 );
         }
-        
+
         try {
             Object value1 = PropertyUtils.getProperty( o1, property );
             Object value2 = PropertyUtils.getProperty( o2, property );
@@ -160,15 +160,15 @@ public class BeanComparator implements C
         }
         catch ( IllegalAccessException iae ) {
             throw new RuntimeException( "IllegalAccessException: " + iae.toString() );
-        } 
+        }
         catch ( InvocationTargetException ite ) {
             throw new RuntimeException( "InvocationTargetException: " + ite.toString() );
         }
         catch ( NoSuchMethodException nsme ) {
             throw new RuntimeException( "NoSuchMethodException: " + nsme.toString() );
-        } 
+        }
     }
-    
+
     /**
      * Two <code>BeanComparator</code>'s are equals if and only if
      * the wrapped comparators and the property names to be compared
@@ -206,7 +206,7 @@ public class BeanComparator implements C
     /**
      * Hashcode compatible with equals.
      * @return the hash code for this comparator
-     */ 
+     */
     public int hashCode() {
         int result;
         result = comparator.hashCode();

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanMap.java Sun Mar  3 11:19:49 2013
@@ -38,7 +38,7 @@ import org.apache.commons.collections.ke
 import org.apache.commons.collections.set.UnmodifiableSet;
 import org.apache.commons.collections.Transformer;
 
-/** 
+/**
  * An implementation of Map for JavaBeans which uses introspection to
  * get and put properties in the bean.
  * <p>
@@ -46,7 +46,7 @@ import org.apache.commons.collections.Tr
  * property is considered non existent in the Map
  *
  * @version $Revision$ $Date$
- * 
+ *
  * @author James Strachan
  * @author Stephen Colebourne
  */
@@ -116,67 +116,67 @@ public class BeanMap extends AbstractMap
             return typeTransformers.values();
         }
     };
-    
+
     private static Map createTypeTransformers() {
         Map defaultTransformers = new HashMap();
-        defaultTransformers.put( 
-            Boolean.TYPE, 
+        defaultTransformers.put(
+            Boolean.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Boolean.valueOf( input.toString() );
                 }
             }
         );
-        defaultTransformers.put( 
-            Character.TYPE, 
+        defaultTransformers.put(
+            Character.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return new Character( input.toString().charAt( 0 ) );
                 }
             }
         );
-        defaultTransformers.put( 
-            Byte.TYPE, 
+        defaultTransformers.put(
+            Byte.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Byte.valueOf( input.toString() );
                 }
             }
         );
-        defaultTransformers.put( 
-            Short.TYPE, 
+        defaultTransformers.put(
+            Short.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Short.valueOf( input.toString() );
                 }
             }
         );
-        defaultTransformers.put( 
-            Integer.TYPE, 
+        defaultTransformers.put(
+            Integer.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Integer.valueOf( input.toString() );
                 }
             }
         );
-        defaultTransformers.put( 
-            Long.TYPE, 
+        defaultTransformers.put(
+            Long.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Long.valueOf( input.toString() );
                 }
             }
         );
-        defaultTransformers.put( 
-            Float.TYPE, 
+        defaultTransformers.put(
+            Float.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Float.valueOf( input.toString() );
                 }
             }
         );
-        defaultTransformers.put( 
-            Double.TYPE, 
+        defaultTransformers.put(
+            Double.TYPE,
             new Transformer() {
                 public Object transform( Object input ) {
                     return Double.valueOf( input.toString() );
@@ -185,8 +185,8 @@ public class BeanMap extends AbstractMap
         );
         return defaultTransformers;
     }
-    
-    
+
+
     // Constructors
     //-------------------------------------------------------------------------
 
@@ -197,7 +197,7 @@ public class BeanMap extends AbstractMap
     }
 
     /**
-     * Constructs a new <code>BeanMap</code> that operates on the 
+     * Constructs a new <code>BeanMap</code> that operates on the
      * specified bean.  If the given bean is <code>null</code>, then
      * this map will be empty.
      *
@@ -218,9 +218,9 @@ public class BeanMap extends AbstractMap
     public String toString() {
         return "BeanMap<" + String.valueOf(bean) + ">";
     }
-    
+
     /**
-     * Clone this bean map using the following process: 
+     * Clone this bean map using the following process:
      *
      * <ul>
      * <li>If there is no underlying bean, return a cloned BeanMap without a
@@ -228,14 +228,14 @@ public class BeanMap extends AbstractMap
      *
      * <li>Since there is an underlying bean, try to instantiate a new bean of
      * the same type using Class.newInstance().
-     * 
+     *
      * <li>If the instantiation fails, throw a CloneNotSupportedException
      *
      * <li>Clone the bean map and set the newly instantiated bean as the
      * underlying bean for the bean map.
      *
      * <li>Copy each property that is both readable and writable from the
-     * existing object to a cloned bean map.  
+     * existing object to a cloned bean map.
      *
      * <li>If anything fails along the way, throw a
      * CloneNotSupportedException.
@@ -255,7 +255,7 @@ public class BeanMap extends AbstractMap
             return newMap;
         }
 
-        Object newBean = null;            
+        Object newBean = null;
         Class beanClass = bean.getClass(); // Cannot throw Exception
         try {
             newBean = beanClass.newInstance();
@@ -267,17 +267,17 @@ public class BeanMap extends AbstractMap
             BeanUtils.initCause(cnse, e);
             throw cnse;
         }
-            
+
         try {
             newMap.setBean(newBean);
         } catch (Exception exception) {
             CloneNotSupportedException cnse = new CloneNotSupportedException
-                ("Unable to set bean in the cloned bean map: " + 
+                ("Unable to set bean in the cloned bean map: " +
                  exception);
             BeanUtils.initCause(cnse, exception);
             throw cnse;
         }
-            
+
         try {
             // copy only properties that are readable and writable.  If its
             // not readable, we can't get the value from the old map.  If
@@ -368,7 +368,7 @@ public class BeanMap extends AbstractMap
      * the given object.
      *
      * @param value  the value to check
-     * @return false  true if the bean has at least one property whose 
+     * @return false  true if the bean has at least one property whose
      *   current value is that object, false otherwise
      */
     public boolean containsValue(Object value) {
@@ -379,10 +379,10 @@ public class BeanMap extends AbstractMap
     /**
      * Returns the value of the bean's property with the given name.
      * <p>
-     * The given name must be a {@link String} and must not be 
+     * The given name must be a {@link String} and must not be
      * null; otherwise, this method returns <code>null</code>.
      * If the bean defines a property with the given name, the value of
-     * that property is returned.  Otherwise, <code>null</code> is 
+     * that property is returned.  Otherwise, <code>null</code> is
      * returned.
      * <p>
      * Write-only properties will not be matched as the test operates against
@@ -432,7 +432,7 @@ public class BeanMap extends AbstractMap
             Object oldValue = get( name );
             Method method = getWriteMethod( name );
             if ( method == null ) {
-                throw new IllegalArgumentException( "The bean of type: "+ 
+                throw new IllegalArgumentException( "The bean of type: "+
                         bean.getClass().getName() + " has no property called: " + name );
             }
             try {
@@ -460,7 +460,7 @@ public class BeanMap extends AbstractMap
         }
         return null;
     }
-                    
+
     /**
      * Returns the number of properties defined by the bean.
      *
@@ -470,14 +470,14 @@ public class BeanMap extends AbstractMap
         return readMethods.size();
     }
 
-    
+
     /**
      * Get the keys for this BeanMap.
      * <p>
      * Write-only properties are <b>not</b> included in the returned set of
-     * property names, although it is possible to set their value and to get 
+     * property names, although it is possible to set their value and to get
      * their type.
-     * 
+     *
      * @return BeanMap keys.  The Set returned by this method is not
      *        modifiable.
      */
@@ -489,7 +489,7 @@ public class BeanMap extends AbstractMap
      * Gets a Set of MapEntry objects that are the mappings for this BeanMap.
      * <p>
      * Each MapEntry can be set but not removed.
-     * 
+     *
      * @return the unmodifiable set of mappings
      */
     public Set entrySet() {
@@ -505,7 +505,7 @@ public class BeanMap extends AbstractMap
 
     /**
      * Returns the values for the BeanMap.
-     * 
+     *
      * @return values for the BeanMap.  The returned collection is not
      *        modifiable.
      */
@@ -550,7 +550,7 @@ public class BeanMap extends AbstractMap
      */
     public Iterator valueIterator() {
         final Iterator iter = keyIterator();
-        return new Iterator() {            
+        return new Iterator() {
             public boolean hasNext() {
                 return iter.hasNext();
             }
@@ -571,15 +571,15 @@ public class BeanMap extends AbstractMap
      */
     public Iterator entryIterator() {
         final Iterator iter = keyIterator();
-        return new Iterator() {            
+        return new Iterator() {
             public boolean hasNext() {
                 return iter.hasNext();
-            }            
+            }
             public Object next() {
                 Object key = iter.next();
                 Object value = get(key);
                 return new Entry( BeanMap.this, key, value );
-            }            
+            }
             public void remove() {
                 throw new UnsupportedOperationException( "remove() not supported for BeanMap" );
             }
@@ -614,7 +614,7 @@ public class BeanMap extends AbstractMap
     /**
      * Returns the accessor for the property with the given name.
      *
-     * @param name  the name of the property 
+     * @param name  the name of the property
      * @return the accessor method for the property, or null
      */
     public Method getReadMethod(String name) {
@@ -638,8 +638,8 @@ public class BeanMap extends AbstractMap
     /**
      * Returns the accessor for the property with the given name.
      *
-     * @param name  the name of the property 
-     * @return null if the name is null; null if the name is not a 
+     * @param name  the name of the property
+     * @return null if the name is null; null if the name is not a
      * {@link String}; null if no such property exists; or the accessor
      *  method for that property
      */
@@ -650,9 +650,9 @@ public class BeanMap extends AbstractMap
     /**
      * Returns the mutator for the property with the given name.
      *
-     * @param name  the name of the 
-     * @return null if the name is null; null if the name is not a 
-     * {@link String}; null if no such property exists; null if the 
+     * @param name  the name of the
+     * @return null if the name is null; null if the name is not a
+     * {@link String}; null if no such property exists; null if the
      * property is read-only; or the mutator method for that property
      */
     protected Method getWriteMethod( Object name ) {
@@ -723,9 +723,9 @@ public class BeanMap extends AbstractMap
     /**
      * Map entry used by {@link BeanMap}.
      */
-    protected static class Entry extends AbstractMapEntry {        
+    protected static class Entry extends AbstractMapEntry {
         private final BeanMap owner;
-        
+
         /**
          * Constructs a new <code>Entry</code>.
          *
@@ -757,7 +757,7 @@ public class BeanMap extends AbstractMap
 
     /**
      * Creates an array of parameters to pass to the given mutator method.
-     * If the given object is not the right type to pass to the method 
+     * If the given object is not the right type to pass to the method
      * directly, it will be converted using {@link #convertType(Class,Object)}.
      *
      * @param method  the mutator method
@@ -770,8 +770,8 @@ public class BeanMap extends AbstractMap
      *   by {@link #convertType(Class,Object)}
      * @throws ClassCastException if an error occurs creating the method args
      */
-    protected Object[] createWriteMethodArguments( Method method, Object value ) 
-        throws IllegalAccessException, ClassCastException {            
+    protected Object[] createWriteMethodArguments( Method method, Object value )
+        throws IllegalAccessException, ClassCastException {
         try {
             if ( value != null ) {
                 Class[] types = method.getParameterTypes();
@@ -804,42 +804,42 @@ public class BeanMap extends AbstractMap
 
     /**
      * Converts the given value to the given type.  First, reflection is
-     * is used to find a public constructor declared by the given class 
-     * that takes one argument, which must be the precise type of the 
+     * is used to find a public constructor declared by the given class
+     * that takes one argument, which must be the precise type of the
      * given value.  If such a constructor is found, a new object is
      * created by passing the given value to that constructor, and the
      * newly constructed object is returned.<P>
      *
      * If no such constructor exists, and the given type is a primitive
-     * type, then the given value is converted to a string using its 
+     * type, then the given value is converted to a string using its
      * {@link Object#toString() toString()} method, and that string is
-     * parsed into the correct primitive type using, for instance, 
+     * parsed into the correct primitive type using, for instance,
      * {@link Integer#valueOf(String)} to convert the string into an
      * <code>int</code>.<P>
      *
-     * If no special constructor exists and the given type is not a 
+     * If no special constructor exists and the given type is not a
      * primitive type, this method returns the original value.
      *
      * @param newType  the type to convert the value to
      * @param value  the value to convert
      * @return the converted value
-     * @throws NumberFormatException if newType is a primitive type, and 
+     * @throws NumberFormatException if newType is a primitive type, and
      *  the string representation of the given value cannot be converted
      *  to that type
-     * @throws InstantiationException  if the constructor found with 
+     * @throws InstantiationException  if the constructor found with
      *  reflection raises it
      * @throws InvocationTargetException  if the constructor found with
      *  reflection raises it
      * @throws IllegalAccessException  never
      * @throws IllegalArgumentException  never
      */
-    protected Object convertType( Class newType, Object value ) 
+    protected Object convertType( Class newType, Object value )
         throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
-        
+
         // try call constructor
         Class[] types = { value.getClass() };
         try {
-            Constructor constructor = newType.getConstructor( types );        
+            Constructor constructor = newType.getConstructor( types );
             Object[] arguments = { value };
             return constructor.newInstance( arguments );
         }

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPredicate.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPredicate.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPredicate.java Sun Mar  3 11:19:49 2013
@@ -29,9 +29,9 @@ import java.lang.reflect.InvocationTarge
  * </p>
  */
 public class BeanPredicate implements Predicate {
-   
+
     private final Log log = LogFactory.getLog(this.getClass());
-    
+
     /** Name of the property whose value will be predicated */
     private String propertyName;
     /** <code>Predicate</code> to be applied to the property value */
@@ -59,7 +59,7 @@ public class BeanPredicate implements Pr
      * @throws IllegalArgumentException when the property cannot be evaluated
      */
     public boolean evaluate(Object object) {
-       
+
         boolean evaluation = false;
 
         try {
@@ -90,12 +90,12 @@ public class BeanPredicate implements Pr
      * Gets the name of the property whose value is to be predicated.
      * in the evaluation.
      * @return the property name, not null
-     */ 
+     */
     public String getPropertyName() {
         return propertyName;
     }
 
-    /** 
+    /**
      * Sets the name of the property whose value is to be predicated.
      * @param propertyName the name of the property whose value is to be predicated,
      * not null
@@ -113,7 +113,7 @@ public class BeanPredicate implements Pr
         return predicate;
     }
 
-    /** 
+    /**
      * Sets the <code>Predicate</code> to be applied to the value of the named property
      * during {@link #evaluate(Object)}.
      * @param predicate <code>Predicate</code>, not null

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueChangeClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueChangeClosure.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueChangeClosure.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueChangeClosure.java Sun Mar  3 11:19:49 2013
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.commons.beanutils;
 
 import org.apache.commons.collections.Closure;
@@ -80,7 +80,7 @@ import java.lang.reflect.InvocationTarge
  * @see org.apache.commons.collections.Closure
  */
 public class BeanPropertyValueChangeClosure implements Closure {
-   
+
     /** For logging. */
     private final Log log = LogFactory.getLog(this.getClass());
 
@@ -161,7 +161,7 @@ public class BeanPropertyValueChangeClos
      * <code>ignoreNull</code> is set to <code>false</code>.
      */
     public void execute(Object object) {
-       
+
         try {
             PropertyUtils.setProperty(object, propertyName, propertyValue);
         } catch (IllegalArgumentException e) {

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.java Sun Mar  3 11:19:49 2013
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.commons.beanutils;
 
 import org.apache.commons.collections.Predicate;
@@ -109,7 +109,7 @@ import java.lang.reflect.InvocationTarge
  * @see org.apache.commons.collections.Predicate
  */
 public class BeanPropertyValueEqualsPredicate implements Predicate {
-   
+
     /** For logging. */
     private final Log log = LogFactory.getLog(this.getClass());
 
@@ -193,7 +193,7 @@ public class BeanPropertyValueEqualsPred
      * <code>ignoreNull</code> is set to <code>false</code>.
      */
     public boolean evaluate(Object object) {
-       
+
         boolean evaluation = false;
 
         try {

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanToPropertyValueTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanToPropertyValueTransformer.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanToPropertyValueTransformer.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanToPropertyValueTransformer.java Sun Mar  3 11:19:49 2013
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.commons.beanutils;
 
 import org.apache.commons.collections.Transformer;
@@ -70,7 +70,7 @@ import java.lang.reflect.InvocationTarge
  * @see org.apache.commons.collections.Transformer
  */
 public class BeanToPropertyValueTransformer implements Transformer {
-   
+
     /** For logging. */
     private final Log log = LogFactory.getLog(this.getClass());
 
@@ -146,7 +146,7 @@ public class BeanToPropertyValueTransfor
      * <code>ignoreNull</code> is set to <code>false</code>.
      */
     public Object transform(Object object) {
-       
+
         Object propertyValue = null;
 
         try {

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java Sun Mar  3 11:19:49 2013
@@ -47,12 +47,12 @@ public class BeanUtils {
 
     /**
      * The debugging detail level for this component.
-     * 
+     *
      * Note that this static variable will have unexpected side-effects if
      * this class is deployed in a shared classloader within a container.
      * However as it is actually completely ignored by this class due to its
      * deprecated status, it doesn't do any actual harm.
-     * 
+     *
      * @deprecated BeanUtils now uses commons-logging for all log messages.
      *             Use your favorite logging tool to configure logging for
      *             this class.
@@ -124,7 +124,7 @@ public class BeanUtils {
      * @exception IllegalAccessException if the caller does not have
      *  access to the property accessor method
      * @exception IllegalArgumentException if the <code>dest</code> or
-     *  <code>orig</code> argument is null or if the <code>dest</code> 
+     *  <code>orig</code> argument is null or if the <code>dest</code>
      *  property type is different from the source type and the relevant
      *  converter has not been registered.
      * @exception InvocationTargetException if the property accessor method
@@ -133,14 +133,14 @@ public class BeanUtils {
      */
     public static void copyProperties(Object dest, Object orig)
         throws IllegalAccessException, InvocationTargetException {
-        
+
         BeanUtilsBean.getInstance().copyProperties(dest, orig);
     }
 
 
     /**
      * <p>Copy the specified property value to the specified destination bean,
-     * performing any type conversion that is required.</p>    
+     * performing any type conversion that is required.</p>
      *
      * <p>For more details see <code>BeanUtilsBean</code>.</p>
      *
@@ -152,7 +152,7 @@ public class BeanUtils {
      *  access to the property accessor method
      * @exception InvocationTargetException if the property accessor method
      *  throws an exception
-     * @see BeanUtilsBean#copyProperty     
+     * @see BeanUtilsBean#copyProperty
      */
     public static void copyProperty(Object bean, String name, Object value)
         throws IllegalAccessException, InvocationTargetException {
@@ -176,7 +176,7 @@ public class BeanUtils {
      *  throws an exception
      * @exception NoSuchMethodException if an accessor method for this
      *  property cannot be found
-     * @see BeanUtilsBean#describe 
+     * @see BeanUtilsBean#describe
      */
     public static Map describe(Object bean)
             throws IllegalAccessException, InvocationTargetException,
@@ -202,7 +202,7 @@ public class BeanUtils {
      *  throws an exception
      * @exception NoSuchMethodException if an accessor method for this
      *  property cannot be found
-     * @see BeanUtilsBean#getArrayProperty 
+     * @see BeanUtilsBean#getArrayProperty
      */
     public static String[] getArrayProperty(Object bean, String name)
             throws IllegalAccessException, InvocationTargetException,
@@ -234,7 +234,7 @@ public class BeanUtils {
     public static String getIndexedProperty(Object bean, String name)
             throws IllegalAccessException, InvocationTargetException,
             NoSuchMethodException {
-        
+
         return BeanUtilsBean.getInstance().getIndexedProperty(bean, name);
 
     }
@@ -429,7 +429,7 @@ public class BeanUtils {
      */
     public static void populate(Object bean, Map properties)
         throws IllegalAccessException, InvocationTargetException {
-        
+
         BeanUtilsBean.getInstance().populate(bean, properties);
     }
 
@@ -456,9 +456,9 @@ public class BeanUtils {
         BeanUtilsBean.getInstance().setProperty(bean, name, value);
     }
 
-    /** 
+    /**
      * If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
-     * 
+     *
      * @param  throwable The throwable.
      * @param  cause     The cause of the throwable.
      * @return  true if the cause was initialized, otherwise false.

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java Sun Mar  3 11:19:49 2013
@@ -58,18 +58,18 @@ public class BeanUtilsBean {
 
     // ------------------------------------------------------ Private Class Variables
 
-    /** 
+    /**
      * Contains <code>BeanUtilsBean</code> instances indexed by context classloader.
      */
-    private static final ContextClassLoaderLocal 
+    private static final ContextClassLoaderLocal
             BEANS_BY_CLASSLOADER = new ContextClassLoaderLocal() {
                         // Creates the default instance used when the context classloader is unavailable
                         protected Object initialValue() {
                             return new BeanUtilsBean();
                         }
                     };
-    
-    /** 
+
+    /**
      * Gets the instance which provides the functionality for {@link BeanUtils}.
      * This is a pseudo-singleton - an single instance is provided per (thread) context classloader.
      * This mechanism provides isolation for web apps deployed in the same container.
@@ -80,11 +80,11 @@ public class BeanUtilsBean {
         return (BeanUtilsBean) BEANS_BY_CLASSLOADER.get();
     }
 
-    /** 
+    /**
      * Sets the instance which provides the functionality for {@link BeanUtils}.
      * This is a pseudo-singleton - an single instance is provided per (thread) context classloader.
      * This mechanism provides isolation for web apps deployed in the same container.
-     * 
+     *
      * @param newInstance The (pseudo-singleton) BeanUtils bean instance
      */
     public static void setInstance(BeanUtilsBean newInstance) {
@@ -97,10 +97,10 @@ public class BeanUtilsBean {
      * Logging for this instance
      */
     private final Log log = LogFactory.getLog(BeanUtils.class);
-    
+
     /** Used to perform conversions between object types when setting properties */
     private final ConvertUtilsBean convertUtilsBean;
-    
+
     /** Used to access properties*/
     private final PropertyUtilsBean propertyUtilsBean;
 
@@ -109,19 +109,19 @@ public class BeanUtilsBean {
 
     // --------------------------------------------------------- Constuctors
 
-    /** 
-     * <p>Constructs an instance using new property 
+    /**
+     * <p>Constructs an instance using new property
      * and conversion instances.</p>
      */
     public BeanUtilsBean() {
         this(new ConvertUtilsBean(), new PropertyUtilsBean());
     }
 
-    /** 
+    /**
      * <p>Constructs an instance using given conversion instances
      * and new {@link PropertyUtilsBean} instance.</p>
      *
-     * @param convertUtilsBean use this <code>ConvertUtilsBean</code> 
+     * @param convertUtilsBean use this <code>ConvertUtilsBean</code>
      * to perform conversions from one object to another
      *
      * @since 1.8.0
@@ -130,18 +130,18 @@ public class BeanUtilsBean {
         this(convertUtilsBean, new PropertyUtilsBean());
     }
 
-    /** 
+    /**
      * <p>Constructs an instance using given property and conversion instances.</p>
      *
-     * @param convertUtilsBean use this <code>ConvertUtilsBean</code> 
+     * @param convertUtilsBean use this <code>ConvertUtilsBean</code>
      * to perform conversions from one object to another
      * @param propertyUtilsBean use this <code>PropertyUtilsBean</code>
      * to access properties
      */
     public BeanUtilsBean(
-                            ConvertUtilsBean convertUtilsBean, 
+                            ConvertUtilsBean convertUtilsBean,
                             PropertyUtilsBean propertyUtilsBean) {
-                            
+
         this.convertUtilsBean = convertUtilsBean;
         this.propertyUtilsBean = propertyUtilsBean;
     }
@@ -225,7 +225,7 @@ public class BeanUtilsBean {
      * @exception IllegalAccessException if the caller does not have
      *  access to the property accessor method
      * @exception IllegalArgumentException if the <code>dest</code> or
-     *  <code>orig</code> argument is null or if the <code>dest</code> 
+     *  <code>orig</code> argument is null or if the <code>dest</code>
      *  property type is different from the source type and the relevant
      *  converter has not been registered.
      * @exception InvocationTargetException if the property accessor method
@@ -458,7 +458,7 @@ public class BeanUtilsBean {
      * properties, but only if there are no indexed properties.</p>
      *
      * <p><strong>Warning:</strong> if any of the bean property implementations
-     * contain (directly or indirectly) a call to this method then 
+     * contain (directly or indirectly) a call to this method then
      * a stack overflow may result. For example:
      * <code><pre>
      * class MyBean
@@ -491,11 +491,11 @@ public class BeanUtilsBean {
         //            return (Collections.EMPTY_MAP);
             return (new java.util.HashMap());
         }
-        
+
         if (log.isDebugEnabled()) {
             log.debug("Describing bean: " + bean.getClass().getName());
         }
-            
+
         Map description = new HashMap();
         if (bean instanceof DynaBean) {
             DynaProperty[] descriptors =
@@ -776,14 +776,14 @@ public class BeanUtilsBean {
      * <code>int</code>, <code>long</code>, <code>float</code>, and
      * <code>double</code>.  In addition, array setters for these types (or the
      * corresponding primitive types) can also be identified.</p>
-     * 
+     *
      * <p>The particular setter method to be called for each property is
      * determined using the usual JavaBeans introspection mechanisms.  Thus,
      * you may identify custom setter methods using a BeanInfo class that is
      * associated with the class of the bean itself.  If no such BeanInfo
      * class is available, the standard method name conversion ("set" plus
      * the capitalized name of the property in question) is used.</p>
-     * 
+     *
      * <p><strong>NOTE</strong>:  It is contrary to the JavaBeans Specification
      * to have more than one setter method (with different argument
      * signatures) for the same property.</p>
@@ -838,7 +838,7 @@ public class BeanUtilsBean {
      * <p>Set the specified property value, performing type conversions as
      * required to conform to the type of the destination property.</p>
      *
-     * <p>If the property is read only then the method returns 
+     * <p>If the property is read only then the method returns
      * without throwing an exception.</p>
      *
      * <p>If <code>null</code> is passed into a property expecting a primitive value,
@@ -1021,8 +1021,8 @@ public class BeanUtilsBean {
         }
 
     }
-    
-    /** 
+
+    /**
      * Gets the <code>ConvertUtilsBean</code> instance used to perform the conversions.
      *
      * @return The ConvertUtils bean instance
@@ -1030,7 +1030,7 @@ public class BeanUtilsBean {
     public ConvertUtilsBean getConvertUtils() {
         return convertUtilsBean;
     }
-    
+
     /**
      * Gets the <code>PropertyUtilsBean</code> instance used to access properties.
      *
@@ -1040,9 +1040,9 @@ public class BeanUtilsBean {
         return propertyUtilsBean;
     }
 
-    /** 
+    /**
      * If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
-     * 
+     *
      * @param  throwable The throwable.
      * @param  cause     The cause of the throwable.
      * @return  true if the cause was initialized, otherwise false.
@@ -1086,10 +1086,10 @@ public class BeanUtilsBean {
      * {@link Throwable#initCause(Throwable)} method of {@link Throwable},
      * or <code>null</code> if the method
      * does not exist.
-     * 
+     *
      * @return A <code>Method<code> for <code>Throwable.initCause</code>, or
      * <code>null</code> if unavailable.
-     */ 
+     */
     private static Method getInitCauseMethod() {
         try {
             Class[] paramsClasses = new Class[] { Throwable.class };

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java Sun Mar  3 11:19:49 2013
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
- 
+
 package org.apache.commons.beanutils;
 
 import java.util.Map;
@@ -23,7 +23,7 @@ import java.util.WeakHashMap;
 /**
  * An instance of this class represents a value that is provided per (thread)
  * context classloader.
- * 
+ *
  * <p>Occasionally it is necessary to store data in "global" variables
  * (including uses of the Singleton pattern). In applications which have only
  * a single classloader such data can simply be stored as "static" members on
@@ -43,14 +43,14 @@ import java.util.WeakHashMap;
  * with a particular thread.</p>
  *
  * <p>When code that uses this class is run as a "normal" application, ie
- * not within a container, the effect is identical to just using a static 
+ * not within a container, the effect is identical to just using a static
  * member variable to store the data, because Thread.getContextClassLoader
  * always returns the same classloader (the system classloader).</p>
  *
  * <p>Expected usage is as follows:<br>
  * <pre>
  *  public class SomeClass {
- *    private static final ContextClassLoaderLocal global 
+ *    private static final ContextClassLoaderLocal global
  *      = new ContextClassLoaderLocal() {
  *          protected Object initialValue() {
  *              return new String("Initial value");
@@ -90,14 +90,14 @@ import java.util.WeakHashMap;
  * there is no obvious reason for a user of the beanutils library to subclass
  * either of those classes.</p>
  *
- * <p><strong>Note:</strong> A WeakHashMap bug in several 1.3 JVMs results in 
+ * <p><strong>Note:</strong> A WeakHashMap bug in several 1.3 JVMs results in
  * a memory leak for those JVMs.</p>
  *
  * <p><strong>Note:</strong> Of course all of this would be unnecessary if
  * containers required each component to load the full set of classes it
  * needs, ie avoided providing classes loaded via a "shared" classloader.</p>
- * 
- * @see java.lang.Thread#getContextClassLoader  
+ *
+ * @see java.lang.Thread#getContextClassLoader
  * @author Eric Pabst
  */
 public class ContextClassLoaderLocal {
@@ -115,7 +115,7 @@ public class ContextClassLoaderLocal {
     /**
      * Returns the initial value for this ContextClassLoaderLocal
      * variable. This method will be called once per Context ClassLoader for
-     * each ContextClassLoaderLocal, the first time it is accessed 
+     * each ContextClassLoaderLocal, the first time it is accessed
      * with get or set.  If the programmer desires ContextClassLoaderLocal variables
      * to be initialized to some value other than null, ContextClassLoaderLocal must
      * be subclassed, and this method overridden.  Typically, an anonymous
@@ -129,37 +129,37 @@ public class ContextClassLoaderLocal {
         return null;
     }
 
-    /** 
+    /**
      * Gets the instance which provides the functionality for {@link BeanUtils}.
      * This is a pseudo-singleton - an single instance is provided per (thread) context classloader.
-     * This mechanism provides isolation for web apps deployed in the same container. 
-     * @return the object currently associated with the context-classloader of the current thread. 
+     * This mechanism provides isolation for web apps deployed in the same container.
+     * @return the object currently associated with the context-classloader of the current thread.
      */
     public synchronized Object get() {
-        // synchronizing the whole method is a bit slower 
-        // but guarantees no subtle threading problems, and there's no 
+        // synchronizing the whole method is a bit slower
+        // but guarantees no subtle threading problems, and there's no
         // need to synchronize valueByClassLoader
-        
+
         // make sure that the map is given a change to purge itself
         valueByClassLoader.isEmpty();
         try {
-            
+
             ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
             if (contextClassLoader != null) {
-                
+
                 Object value = valueByClassLoader.get(contextClassLoader);
-                if ((value == null) 
+                if ((value == null)
                 && !valueByClassLoader.containsKey(contextClassLoader)) {
                     value = initialValue();
                     valueByClassLoader.put(contextClassLoader, value);
                 }
                 return value;
-                
+
             }
-            
+
         } catch (SecurityException e) { /* SWALLOW - should we log this? */ }
-        
-        // if none or exception, return the globalValue 
+
+        // if none or exception, return the globalValue
         if (!globalValueInitialized) {
             globalValue = initialValue();
             globalValueInitialized = true;
@@ -167,50 +167,50 @@ public class ContextClassLoaderLocal {
         return globalValue;
     }
 
-    /** 
+    /**
      * Sets the value - a value is provided per (thread) context classloader.
-     * This mechanism provides isolation for web apps deployed in the same container. 
-     * 
+     * This mechanism provides isolation for web apps deployed in the same container.
+     *
      * @param value the object to be associated with the entrant thread's context classloader
      */
     public synchronized void set(Object value) {
-        // synchronizing the whole method is a bit slower 
+        // synchronizing the whole method is a bit slower
         // but guarentees no subtle threading problems
-        
+
         // make sure that the map is given a change to purge itself
         valueByClassLoader.isEmpty();
         try {
-            
+
             ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
             if (contextClassLoader != null) {
                 valueByClassLoader.put(contextClassLoader, value);
                 return;
             }
-            
+
         } catch (SecurityException e) { /* SWALLOW - should we log this? */ }
-        
+
         // if in doubt, set the global value
         globalValue = value;
         globalValueInitialized = true;
     }
-    
-    /** 
+
+    /**
      * Unsets the value associated with the current thread's context classloader
      */
-    public synchronized void unset() {    
+    public synchronized void unset() {
         try {
-        
+
             ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
             unset(contextClassLoader);
-            
+
         } catch (SecurityException e) { /* SWALLOW - should we log this? */ }
     }
-    
-    /** 
+
+    /**
      * Unsets the value associated with the given classloader
      * @param classLoader The classloader to <i>unset</i> for
      */
-    public synchronized void unset(ClassLoader classLoader) {    
+    public synchronized void unset(ClassLoader classLoader) {
         valueByClassLoader.remove(classLoader);
-    }    
+    }
 }
\ No newline at end of file

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java Sun Mar  3 11:19:49 2013
@@ -30,7 +30,7 @@ package org.apache.commons.beanutils;
  *
  * <p>Custom converter subclasses created by users of the library can be
  * non-thread-safe if the application using them is single-threaded. However
- * it is recommended that they be written in a thread-safe manner anyway.</p> 
+ * it is recommended that they be written in a thread-safe manner anyway.</p>
  *
  * @author Craig McClanahan
  * @author Paulo Gaspar

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java Sun Mar  3 11:19:49 2013
@@ -14,14 +14,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.commons.beanutils;
 
-
-
-
-
 /**
  * <p>A <strong>DynaClass</strong> is a simulation of the functionality of
  * <code>java.lang.Class</code> for classes implementing the

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaProperty.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaProperty.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaProperty.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaProperty.java Sun Mar  3 11:19:49 2013
@@ -32,7 +32,7 @@ import java.util.Map;
  * <p>The metadata describing an individual property of a DynaBean.</p>
  *
  * <p>The meta contains an <em>optional</em> content type property ({@link #getContentType})
- * for use by mapped and iterated properties. 
+ * for use by mapped and iterated properties.
  * A mapped or iterated property may choose to indicate the type it expects.
  * The DynaBean implementation may choose to enforce this type on its entries.
  * Alternatively, an implementatin may choose to ignore this property.
@@ -45,7 +45,7 @@ import java.util.Map;
 public class DynaProperty implements Serializable {
 
     // ----------------------------------------------------------- Constants
-    
+
     /*
      * There are issues with serializing primitive class types on certain JVM versions
      * (including java 1.3).
@@ -62,7 +62,7 @@ public class DynaProperty implements Ser
     private static final int INT_TYPE = 6;
     private static final int LONG_TYPE = 7;
     private static final int SHORT_TYPE = 8;
-    
+
 
     // ----------------------------------------------------------- Constructors
 
@@ -95,7 +95,7 @@ public class DynaProperty implements Ser
         }
 
     }
-    
+
     /**
      * Construct an indexed or mapped <code>DynaProperty</code> that supports (pseudo)-introspection
      * of the content type.
@@ -110,7 +110,7 @@ public class DynaProperty implements Ser
         this.name = name;
         this.type = type;
         this.contentType = contentType;
-        
+
     }
 
     // ------------------------------------------------------------- Properties
@@ -124,17 +124,17 @@ public class DynaProperty implements Ser
     public String getName() {
         return (this.name);
     }
-    
+
     /** Property type */
     protected transient Class type = null;
     /**
      * <p>Gets the Java class representing the data type of the underlying property
      * values.</p>
-     * 
+     *
      * <p>There are issues with serializing primitive class types on certain JVM versions
      * (including java 1.3).
      * Therefore, this field <strong>must not be serialized using the standard methods</strong>.</p>
-     * 
+     *
      * <p><strong>Please leave this field as <code>transient</code></strong></p>
      *
      * @return the property type
@@ -142,8 +142,8 @@ public class DynaProperty implements Ser
     public Class getType() {
         return (this.type);
     }
-    
-    
+
+
     /** The <em>(optional)</em> type of content elements for indexed <code>DynaProperty</code> */
     protected transient Class contentType;
     /**
@@ -154,13 +154,13 @@ public class DynaProperty implements Ser
      * (including java 1.3).
      * Therefore, this field <strong>must not be serialized using the standard methods</strong>.</p>
      *
-     * @return the Class for the content type if this is an indexed <code>DynaProperty</code> 
+     * @return the Class for the content type if this is an indexed <code>DynaProperty</code>
      * and this feature is supported. Otherwise null.
      */
     public Class getContentType() {
         return contentType;
     }
-    
+
     // --------------------------------------------------------- Public Methods
 
 
@@ -203,7 +203,7 @@ public class DynaProperty implements Ser
 
     /**
      * Checks this instance against the specified Object for equality. Overrides the
-     * default refererence test for equality provided by {@link java.lang.Object#equals(Object)}  
+     * default refererence test for equality provided by {@link java.lang.Object#equals(Object)}
      * @param obj The object to compare to
      * @return <code>true</code> if object is a dyna property with the same name
      * type and content type, otherwise <code>false</code>
@@ -217,7 +217,7 @@ public class DynaProperty implements Ser
 
         if ((!result) && obj instanceof DynaProperty) {
             final DynaProperty that = (DynaProperty) obj;
-            result = 
+            result =
                ((this.name == null) ? (that.name == null) : (this.name.equals(that.name))) &&
                ((this.type == null) ? (that.type == null) : (this.type.equals(that.type))) &&
                ((this.contentType == null) ? (that.contentType == null) : (this.contentType.equals(that.contentType)));
@@ -234,7 +234,7 @@ public class DynaProperty implements Ser
     public int hashCode() {
 
        int result = 1;
-       
+
        result = result * 31 + ((name == null) ? 0 : name.hashCode());
        result = result * 31 + ((type == null) ? 0 : type.hashCode());
        result = result * 31 + ((contentType == null) ? 0 : contentType.hashCode());
@@ -261,7 +261,7 @@ public class DynaProperty implements Ser
     }
 
     // --------------------------------------------------------- Serialization helper methods
-    
+
     /**
      * Writes this object safely.
      * There are issues with serializing primitive class types on certain JVM versions
@@ -269,13 +269,13 @@ public class DynaProperty implements Ser
      * This method provides a workaround.
      */
     private void writeObject(ObjectOutputStream out) throws IOException {
-        
+
         writeAnyClass(this.type,out);
-        
+
         if (isMapped() || isIndexed()) {
             writeAnyClass(this.contentType,out);
         }
-        
+
         // write out other values
         out.defaultWriteObject();
     }
@@ -303,7 +303,7 @@ public class DynaProperty implements Ser
         } else if (Short.TYPE.equals(clazz)) {
             primitiveType = SHORT_TYPE;
         }
-        
+
         if (primitiveType == 0) {
             // then it's not a primitive type
             out.writeBoolean(false);
@@ -314,37 +314,37 @@ public class DynaProperty implements Ser
             out.writeInt(primitiveType);
         }
     }
-    
+
     /**
      * Reads field values for this object safely.
      * There are issues with serializing primitive class types on certain JVM versions
      * (including java 1.3).
      * This method provides a workaround.
      *
-     * @throws StreamCorruptedException when the stream data values are outside expected range 
+     * @throws StreamCorruptedException when the stream data values are outside expected range
      */
     private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
-        
+
         this.type = readAnyClass(in);
-        
+
         if (isMapped() || isIndexed()) {
             this.contentType = readAnyClass(in);
         }
-        
+
         // read other values
         in.defaultReadObject();
     }
-    
+
 
     /**
      * Reads a class using safe encoding to workaround java 1.3 serialization bug.
      */
     private Class readAnyClass(ObjectInputStream in) throws IOException, ClassNotFoundException {
-        // read back type class safely 
+        // read back type class safely
         if (in.readBoolean()) {
             // it's a type constant
             switch (in.readInt()) {
-            
+
                 case BOOLEAN_TYPE: return   Boolean.TYPE;
                 case BYTE_TYPE:    return      Byte.TYPE;
                 case CHAR_TYPE:    return Character.TYPE;
@@ -360,7 +360,7 @@ public class DynaProperty implements Ser
                         + "Check version of beanutils used to serialize is compatible.");
 
             }
-              
+
         } else {
             // it's another class
             return ((Class) in.readObject());

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java?rev=1452028&r1=1452027&r2=1452028&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java Sun Mar  3 11:19:49 2013
@@ -171,7 +171,7 @@ abstract class JDBCDynaClass implements 
     /**
      * <p>Factory method to create a new DynaProperty for the given index
      * into the result set metadata.</p>
-     * 
+     *
      * @param metadata is the result set metadata
      * @param i is the column index in the metadata
      * @return the newly created DynaProperty instance
@@ -294,7 +294,7 @@ abstract class JDBCDynaClass implements 
 
     /**
      * Get the table column name for the specified property name.
-     * 
+     *
      * @param name The property name
      * @return The column name (which can be different if the <i>lowerCase</i>
      * option is used).



Mime
View raw message