commons-beanutils.git
15 years agoUpdate NOTICE files in trunks-proper in light of TLP move (and add component names...
Rahul Akolkar [Wed, 4 Jul 2007 18:26:27 +0000 (18:26 +0000)] 
Update NOTICE files in trunks-proper in light of TLP move (and add component names to NOTICEs where missing).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@553294 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChanges for BEANUTILS43 and BEANUTILS-247 mean that "indexed Maps" and "mapped indexe...
Niall Pemberton [Mon, 2 Jul 2007 03:31:25 +0000 (03:31 +0000)] 
Changes for BEANUTILS43 and BEANUTILS-247 mean that "indexed Maps" and "mapped indexed" properties are now supported - adding tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552393 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-43 - Support Mapped property inside a mapped property
Niall Pemberton [Mon, 2 Jul 2007 03:27:17 +0000 (03:27 +0000)] 
BEANUTILS-43 - Support Mapped property inside a mapped property

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552391 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-247 - Support Arrays with multiple dimension - add setter tests
Niall Pemberton [Mon, 2 Jul 2007 03:06:58 +0000 (03:06 +0000)] 
BEANUTILS-247 - Support Arrays with multiple dimension - add setter tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552388 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-247 - Support Arrays with multiple dimension
Niall Pemberton [Mon, 2 Jul 2007 02:22:57 +0000 (02:22 +0000)] 
BEANUTILS-247 - Support Arrays with multiple dimension

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552384 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-285 and BEANUTILS-258 - provide new BeanUtilsBean / ConvertUtilsBean implem...
Niall Pemberton [Mon, 2 Jul 2007 02:00:17 +0000 (02:00 +0000)] 
BEANUTILS-285 and BEANUTILS-258 - provide new BeanUtilsBean / ConvertUtilsBean implementations that take full advantage of the new Converter implementations - default behaviour is compatible with BeanUtils 1.7.0. These new implementations are configured by calling BeanUtilsBean.setInstance(new BeanUtilsBean2);

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552381 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-285 and BEANUTILS-258 - revert incompatible changes to prevent possible...
Niall Pemberton [Sun, 1 Jul 2007 11:04:26 +0000 (11:04 +0000)] 
BEANUTILS-285 and BEANUTILS-258 - revert incompatible changes to prevent possible compatibility problems

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552279 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd toString() implementations
Niall Pemberton [Sun, 1 Jul 2007 06:19:35 +0000 (06:19 +0000)] 
Add toString() implementations

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552251 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-286 - New Facade converter implementation - hide non-Converter public APIs
Niall Pemberton [Sat, 30 Jun 2007 03:04:13 +0000 (03:04 +0000)] 
BEANUTILS-286 - New Facade converter implementation - hide non-Converter public APIs

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@552084 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-142 - Fix a bug error in change for this issue - thanks to dyna bean?!
Niall Pemberton [Wed, 27 Jun 2007 19:00:32 +0000 (19:00 +0000)] 
BEANUTILS-142 - Fix a bug error in change for this issue - thanks to dyna bean?!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@551272 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 Improve ConvertUtilsBean's new convert(Object, Class) method - if the...
Niall Pemberton [Wed, 27 Jun 2007 05:34:15 +0000 (05:34 +0000)] 
BEANUTILS-258 Improve ConvertUtilsBean's new convert(Object, Class) method - if the registered Converter cannot handle conversion to String then try using the registered String converter, before trying the Object's toString() method. Highlighted by the problems BeanUtils changes caused to Betwixt - thanks to Martin van den Bemt - see tinyurl.com/26ahat

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@551047 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPrevent calling toString on a String.
Martin van den Bemt [Sat, 23 Jun 2007 00:58:02 +0000 (00:58 +0000)] 
Prevent calling toString on a String.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@549986 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix failing test case
Niall Pemberton [Tue, 12 Jun 2007 13:35:32 +0000 (13:35 +0000)] 
Fix failing test case

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@546480 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRestore JDK 1.3 compatibility
Niall Pemberton [Tue, 12 Jun 2007 12:57:20 +0000 (12:57 +0000)] 
Restore JDK 1.3 compatibility

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@546471 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for BEANUTILS-283 - ConvertUtilsBean doesn't handle conversion to String correctl...
Niall Pemberton [Mon, 11 Jun 2007 15:42:53 +0000 (15:42 +0000)] 
Fix for BEANUTILS-283 - ConvertUtilsBean doesn't handle conversion to String correctly - thanks to Josef Cacek

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@546174 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - refactor new lookup() method slightly
Niall Pemberton [Fri, 25 May 2007 16:30:15 +0000 (16:30 +0000)] 
BEANUTILS-258 - refactor new lookup() method slightly

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541715 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - enhance AbstractConverter to handle Array-->non-Array conversion...
Niall Pemberton [Fri, 25 May 2007 15:34:19 +0000 (15:34 +0000)] 
BEANUTILS-258 - enhance AbstractConverter to handle Array-->non-Array conversion, but exclude behaviour for ArrayConverter

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541692 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-233 Implement equals() and hashCode() methods for DynaProperty - thanks...
Niall Pemberton [Thu, 24 May 2007 20:45:24 +0000 (20:45 +0000)] 
BEANUTILS-233 Implement equals() and hashCode() methods for DynaProperty - thanks to Russell for the patch and test case!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541424 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdding a test case for BEANUTILS-33 to PropertyUtilsTestCase. This incosistency ...
Niall Pemberton [Thu, 24 May 2007 19:22:03 +0000 (19:22 +0000)] 
Adding a test case for BEANUTILS-33 to PropertyUtilsTestCase. This incosistency (can't use "dot" in mapped properties for setProperty or getPropertyDescriptor) has already been fixed by the changes for BEANUTILS-259 (Plugable Property Name Expression Resolver)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541397 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMinor javadoc correction
Niall Pemberton [Thu, 24 May 2007 15:46:10 +0000 (15:46 +0000)] 
Minor javadoc correction

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541336 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-88 PropertyUtilsBean.isReadable/isWriteable always returns false for mapped...
Niall Pemberton [Thu, 24 May 2007 15:38:56 +0000 (15:38 +0000)] 
BEANUTILS-88 PropertyUtilsBean.isReadable/isWriteable always returns false for mapped properties - thanks to Chuck Daniels

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541327 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-87 - Package scope implementation of a public interface for mapped property...
Niall Pemberton [Thu, 24 May 2007 14:31:50 +0000 (14:31 +0000)] 
BEANUTILS-87 - Package scope implementation of a public interface for mapped property fails. Adding a test case to prove that this has been resolved (running the test with BeanUtils 1.7.0 failed, but passes with current BeanUtils trunk) - fixed by changes to MappedPropertyDescriptor associated with BEANUTILS-6)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541308 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprove exception error messages and add Calendar --> Long conversion
Niall Pemberton [Thu, 24 May 2007 00:18:01 +0000 (00:18 +0000)] 
Improve exception error messages and add Calendar --> Long conversion

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541122 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprove BigInteger / BigDecimal conversion handling
Niall Pemberton [Wed, 23 May 2007 22:11:28 +0000 (22:11 +0000)] 
Improve BigInteger / BigDecimal conversion handling

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@541100 13f79535-47bb-0310-9956-ffa450edef68

15 years agoProvide a getMap() method in DynaBeanMapDecorator in BasicDynaBean that uses DynaBean...
Niall Pemberton [Tue, 22 May 2007 05:34:47 +0000 (05:34 +0000)] 
Provide a getMap() method in DynaBeanMapDecorator in BasicDynaBean that uses DynaBeanMapDecorator to provide a Map representation of the DynaBean

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540426 13f79535-47bb-0310-9956-ffa450edef68

15 years agofix license header
Niall Pemberton [Tue, 22 May 2007 04:58:00 +0000 (04:58 +0000)] 
fix license header

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540421 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-185 Provide a Map decorator for a DynaBean (enables DynaBean to be used...
Niall Pemberton [Tue, 22 May 2007 04:52:13 +0000 (04:52 +0000)] 
BEANUTILS-185 Provide a Map decorator for a DynaBean (enables DynaBean to be used with other teechnologies such as JSTL)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540419 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - re-factor Converter registration in ConvertUtilsBean to make configur...
Niall Pemberton [Tue, 22 May 2007 01:03:37 +0000 (01:03 +0000)] 
BEANUTILS-258 - re-factor Converter registration in ConvertUtilsBean to make configuring the standard converters for defaults/throwing exceptions easier

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540385 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - switch StringConverter to be based on the new AbstractConveter -...
Niall Pemberton [Tue, 22 May 2007 01:01:07 +0000 (01:01 +0000)] 
BEANUTILS-258 - switch StringConverter to be based on the new AbstractConveter - provides only limmited advantage, but StringConverter didn't have the usual ConversionException and default logic - which it now has

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540383 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImprovements to AbstractConverter:
Niall Pemberton [Tue, 22 May 2007 00:59:25 +0000 (00:59 +0000)] 
Improvements to AbstractConverter:
- convertToString() to declare throwing Throwable (was declaring any errors on method signature)
- convertToType() methods to declare throwing Throwable (rather than Exception)
- error handling to now include errors thrown by convertToString() (previously just convertToType())
- error handling to handle Throwable (was Exception)
- error handling to initialize the cause for JDK 1.4+
- change Log instance to transient and change all logging methods to use the log() method
- modify Converters affected by AbstractConverter API change

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540381 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-266 - add a test case to check that PropertyUtilsBean's invoke method is...
Niall Pemberton [Tue, 22 May 2007 00:23:27 +0000 (00:23 +0000)] 
BEANUTILS-266 - add a test case to check that PropertyUtilsBean's invoke method is correctly initializing the cause on JDK 1.4+

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540380 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for BEANUTILS-266 Log or throw exception in PropertyUtilsBean - thanks to Brian...
Niall Pemberton [Mon, 21 May 2007 23:36:17 +0000 (23:36 +0000)] 
Fix for BEANUTILS-266 Log or throw exception in PropertyUtilsBean - thanks to Brian Ewins and Commons HttpClient. Added mechanism to initialize the "cause" on an Exception using reflection (copied from Commons HttpClient).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540362 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd getters for properties to Date and Number converters
Niall Pemberton [Mon, 21 May 2007 22:34:43 +0000 (22:34 +0000)] 
Add getters for properties to Date and Number converters

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540328 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-242 - JavaDoc improvements and change convertToString() method to delegate...
Niall Pemberton [Mon, 21 May 2007 11:20:15 +0000 (11:20 +0000)] 
BEANUTILS-242 - JavaDoc improvements and change convertToString() method to delegate to convertToCollection(0 method for non-arrays

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@540115 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMinor test changes -remove duplicated test condition (and stack trace) plus comment...
Niall Pemberton [Mon, 21 May 2007 00:30:33 +0000 (00:30 +0000)] 
Minor test changes  -remove duplicated test condition (and stack trace) plus comment/method name amendments

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539985 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for BEANUTILS-112 - deprecate the public static defaultTransformers HashMap and...
Niall Pemberton [Sun, 20 May 2007 22:17:33 +0000 (22:17 +0000)] 
Fix for BEANUTILS-112 - deprecate the public static defaultTransformers HashMap and make it unmodifiable

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539965 13f79535-47bb-0310-9956-ffa450edef68

15 years agoConfigure unit tests
Niall Pemberton [Sun, 20 May 2007 22:14:53 +0000 (22:14 +0000)] 
Configure unit tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539964 13f79535-47bb-0310-9956-ffa450edef68

15 years agojava.lang.Boolean implements Comparable from JDK 1.5 onwards - so comparing boolean...
Niall Pemberton [Sun, 20 May 2007 21:12:48 +0000 (21:12 +0000)] 
java.lang.Boolean implements Comparable from JDK 1.5 onwards - so comparing boolean properties no longer fails

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539941 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for BEANUTILS-243 - BeanUtils fails to compile under 1.6 - thanks to Henri Yandell
Niall Pemberton [Sun, 20 May 2007 15:49:32 +0000 (15:49 +0000)] 
Fix for BEANUTILS-243 - BeanUtils fails to compile under 1.6 - thanks to Henri Yandell

Changes in the ResultSet and ResultSetMetaData for JDK 1.6 meant that BeanUtils tests no longer compiled. However implementing the methods would prevent it from compiling under earlier JDK versions. To resolve this the mock implementations have been converted to implement InvocationHandler (rather than ResultSet/ResultSetMetaData) and factory methods provided to create proxies. This tests now compile and run successfully (tests on JDK 1.3.1_18, JDK 1.5.0_07 and JDK 1.6.0

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539889 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd test for BEANUTILS-65 (ConvertUtils supports String->String[], but BeanUtils...
Niall Pemberton [Sun, 20 May 2007 08:46:20 +0000 (08:46 +0000)] 
Add test for BEANUTILS-65 (ConvertUtils supports String->String[], but BeanUtils does not call the converter) - resolved by BEANUTILS-258

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539845 13f79535-47bb-0310-9956-ffa450edef68

15 years agoDeprecate previous array converters in favour of the new generic ArrayConverter imple...
Niall Pemberton [Sun, 20 May 2007 08:16:26 +0000 (08:16 +0000)] 
Deprecate previous array converters in favour of the new generic ArrayConverter implementation

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539843 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-242 - register new generic array converter implementation in place of previ...
Niall Pemberton [Sun, 20 May 2007 07:59:06 +0000 (07:59 +0000)] 
BEANUTILS-242 - register new generic array converter implementation in place of previous versions

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539842 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for BEANUTILS-249 - BeanUtilsBean does not convert objects using custom convertor...
Niall Pemberton [Sun, 20 May 2007 06:47:00 +0000 (06:47 +0000)] 
Fix for BEANUTILS-249 - BeanUtilsBean does not convert objects using custom convertors properly - thanks to Brad

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539835 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - add new convert() and lookup() methods to ConvertUtils that utilize...
Niall Pemberton [Sun, 20 May 2007 06:39:21 +0000 (06:39 +0000)] 
BEANUTILS-258 - add new convert() and lookup() methods to ConvertUtils that utilize the capabilities of the improved Converter implementations. Also modify BeanUtils to use the new methods.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539832 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-110 - revert to the original suggestion from Etienne Bernard to resolve...
Niall Pemberton [Sun, 20 May 2007 05:10:08 +0000 (05:10 +0000)] 
BEANUTILS-110 - revert to the original suggestion from Etienne Bernard to resolve the second issue with this bug

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539828 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-242 - number of small improvements:
Niall Pemberton [Sun, 20 May 2007 01:13:29 +0000 (01:13 +0000)] 
BEANUTILS-242 - number of small improvements:
- add handling for conversion to String of Collections and non-arrays
- make conversion to String configurable (either first element or delimited list)
- improve conversion to array for primitive and date values

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539812 13f79535-47bb-0310-9956-ffa450edef68

15 years agoWoops, my bad introduced additional synchronization - original FastHashMap was u...
Niall Pemberton [Fri, 18 May 2007 17:11:09 +0000 (17:11 +0000)] 
Woops, my bad introduced additional synchronization - original FastHashMap was u nsynchronized once the ConvertUtilsBean was constructed - that was pretty much a waste of time anyway

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539521 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-278 Remove references to FastHashMap that have no impact on the API (and...
Niall Pemberton [Fri, 18 May 2007 16:50:40 +0000 (16:50 +0000)] 
BEANUTILS-278 Remove references to FastHashMap that have no impact on the API (and very little performance impact)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539519 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix m2 problems
Niall Pemberton [Fri, 18 May 2007 15:57:59 +0000 (15:57 +0000)] 
Fix m2 problems

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539508 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix version numbers and build
Niall Pemberton [Fri, 18 May 2007 14:08:48 +0000 (14:08 +0000)] 
Fix version numbers and build

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@539475 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReduce the setDefaultValue() method's visibility from public to protected, as per...
Niall Pemberton [Tue, 1 May 2007 11:32:52 +0000 (11:32 +0000)] 
Reduce the setDefaultValue() method's visibility from public to protected, as per comments on BEANUTILS-258

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@534013 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove StringBuffer conversion functionality (reverts r471625) - over complicates...
Niall Pemberton [Tue, 1 May 2007 11:26:17 +0000 (11:26 +0000)] 
Remove StringBuffer conversion functionality (reverts r471625) - over complicates matters, as per comments on BEANUTILS-258

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@534011 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdding note to Javadoc that copyProperties is for copying properties and not for...
Henri Yandell [Tue, 13 Mar 2007 21:56:35 +0000 (21:56 +0000)] 
Adding note to Javadoc that copyProperties is for copying properties and not for copying the contents of arrays or Lists. I pondered adding that functionality, but there's already some weird Map->Bean functionality in place and I felt it would just confuse things as I would have had to somewhat fix that to allow for Map->Map copying.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@517894 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-267 - BeanComparator constructor should check the comparator for null...
Niall Pemberton [Sat, 20 Jan 2007 11:50:37 +0000 (11:50 +0000)] 
BEANUTILS-267 -  BeanComparator constructor should check the comparator for null and default to ComparableComparator - thanks to Jacob Kjome

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@498105 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix BeanComparatorTestCase - isn't throwing a ClassCastException any more
Niall Pemberton [Sat, 20 Jan 2007 11:49:15 +0000 (11:49 +0000)] 
Fix BeanComparatorTestCase - isn't throwing a ClassCastException any more

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@498104 13f79535-47bb-0310-9956-ffa450edef68

15 years agoApplied modified patch for Nestor Boscan's static method variants as reported in...
Henri Yandell [Tue, 26 Dec 2006 23:25:41 +0000 (23:25 +0000)] 
Applied modified patch for Nestor Boscan's static method variants as reported in #BEANUTILS-193. Have also added a unit test for the static method calls.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@490398 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSetting the maven repo - apologies if this borks anything
Henri Yandell [Tue, 12 Dec 2006 22:11:41 +0000 (22:11 +0000)] 
Setting the maven repo - apologies if this borks anything

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@486363 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMatch groupIds for m1 and m2. We should account for the fact that its relatively...
Rahul Akolkar [Wed, 6 Dec 2006 15:55:07 +0000 (15:55 +0000)] 
Match groupIds for m1 and m2. We should account for the fact that its relatively easier to deploy snaps with m2 (such as IO was last night) and we shouldn't spray component artifacts in two different places (without relocation).

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@483126 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMissing props on various m2 poms.
Rahul Akolkar [Wed, 6 Dec 2006 15:44:10 +0000 (15:44 +0000)] 
Missing props on various m2 poms.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@483119 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRolling the org.apache.commons groupId back to the individual component ids. It sound...
Henri Yandell [Sat, 25 Nov 2006 19:01:23 +0000 (19:01 +0000)] 
Rolling the org.apache.commons groupId back to the individual component ids. It sounds as though we're not ready for the project.xmls to move to the new id. Intentionally leaving the pom.xmls as they are - sounds like when a component moves to maven-2, that that is when it should use the new groupId

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@479168 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdding a bit more data to the conversion error messages
Henri Yandell [Tue, 14 Nov 2006 23:45:30 +0000 (23:45 +0000)] 
Adding a bit more data to the conversion error messages

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@475060 13f79535-47bb-0310-9956-ffa450edef68

15 years agogetPackage() returns null for some reason, however unless someone repackages the...
Henri Yandell [Mon, 13 Nov 2006 07:09:44 +0000 (07:09 +0000)] 
getPackage() returns null for some reason, however unless someone repackages the code there doesn't seem to be any terrible reason not to hard code the package name

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@474175 13f79535-47bb-0310-9956-ffa450edef68

15 years agoHooking to the newly released v1 commons-parent pom
Henri Yandell [Mon, 13 Nov 2006 04:49:07 +0000 (04:49 +0000)] 
Hooking to the newly released v1 commons-parent pom

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@474146 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemove accented characters from author names that is causing the nightly build to...
Niall Pemberton [Sun, 12 Nov 2006 22:53:41 +0000 (22:53 +0000)] 
Remove accented characters from author names that is causing the nightly build to fail with the message "warning: unmappable character for encoding UTF8"

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@474083 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-49 - Remove unnecessary synchronization from the static getInstance() and...
Niall Pemberton [Sun, 12 Nov 2006 15:21:35 +0000 (15:21 +0000)] 
BEANUTILS-49 - Remove unnecessary synchronization from the static getInstance() and setInstance() methods in BeanUtilsBean and LocaleBeanUtilsBean - the ContextClassLoaderLocale that they access already has all of its methods synchronized. Thanks to Jesper Richter-Reichhelm for reporting this and Kenneth Xu for pointing out the unnecessary synchronization.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473972 13f79535-47bb-0310-9956-ffa450edef68

15 years agoremove tabs
Niall Pemberton [Sun, 12 Nov 2006 15:05:41 +0000 (15:05 +0000)] 
remove tabs

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473970 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd Henri and update release notes
Niall Pemberton [Sun, 12 Nov 2006 07:43:48 +0000 (07:43 +0000)] 
Add Henri and update release notes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473902 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-259 - Add Plugable Expression Resolver
Niall Pemberton [Sun, 12 Nov 2006 06:21:24 +0000 (06:21 +0000)] 
BEANUTILS-259 - Add Plugable Expression Resolver

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473888 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAutomatically set the component type for arrays
Niall Pemberton [Sun, 12 Nov 2006 05:59:06 +0000 (05:59 +0000)] 
Automatically set the component type for arrays

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473884 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSimplify by using LocaleBeanUtilsBean's Descriptor
Niall Pemberton [Sun, 12 Nov 2006 05:57:38 +0000 (05:57 +0000)] 
Simplify by using LocaleBeanUtilsBean's Descriptor

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473883 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect change to fix NullPointerException for BEANUTILS-207 !!!
Niall Pemberton [Sun, 12 Nov 2006 05:53:04 +0000 (05:53 +0000)] 
Correct change to fix NullPointerException for BEANUTILS-207 !!!

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473882 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix for BEANUTILS-262 change getPropertyDescriptor() and setNestedProperty() methods...
Niall Pemberton [Sat, 11 Nov 2006 15:52:40 +0000 (15:52 +0000)] 
Fix for BEANUTILS-262 change getPropertyDescriptor() and setNestedProperty() methods to throw a NestedNullException (as the getNestedProperty() method does)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473742 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-207 Additional Error message improvements
Niall Pemberton [Sat, 11 Nov 2006 15:44:37 +0000 (15:44 +0000)] 
BEANUTILS-207 Additional Error message improvements

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473738 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix NullPointerException introduced by BEANUTILS-207
Niall Pemberton [Sat, 11 Nov 2006 15:39:14 +0000 (15:39 +0000)] 
Fix NullPointerException introduced by BEANUTILS-207

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@473736 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChanging the link to the generic JavaBeans page from Java API specification to Java API
Henri Yandell [Thu, 9 Nov 2006 16:30:08 +0000 (16:30 +0000)] 
Changing the link to the generic JavaBeans page from Java API specification to Java API

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472964 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMaking sure all the pom.xmls have NOTICE/LICENSEs in - though haven't done VFS
Henri Yandell [Thu, 9 Nov 2006 06:31:40 +0000 (06:31 +0000)] 
Making sure all the pom.xmls have NOTICE/LICENSEs in - though haven't done VFS

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472790 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPoint DOAP files to JIRA.
Rahul Akolkar [Thu, 9 Nov 2006 00:26:31 +0000 (00:26 +0000)] 
Point DOAP files to JIRA.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472714 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMissing SVN properties, possibly some large diffs, no functional change.
Rahul Akolkar [Thu, 9 Nov 2006 00:14:44 +0000 (00:14 +0000)] 
Missing SVN properties, possibly some large diffs, no functional change.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472712 13f79535-47bb-0310-9956-ffa450edef68

15 years agoPeg Commons at JCL 1.0.4. Have only looked at proper for lack of cycles, can follow...
Rahul Akolkar [Wed, 8 Nov 2006 23:39:13 +0000 (23:39 +0000)] 
Peg Commons at JCL 1.0.4. Have only looked at proper for lack of cycles, can follow up with sandbox and dormant components as they graduate or get revived.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472702 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdding the bean class in question to PropertyUtilsBean exceptions - as patched by...
Henri Yandell [Wed, 8 Nov 2006 01:34:37 +0000 (01:34 +0000)] 
Adding the bean class in question to PropertyUtilsBean exceptions - as patched by Erik Meade in #BEANUTILS-207

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472361 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMaven 2 POM for BeanUtils
Henri Yandell [Tue, 7 Nov 2006 22:46:09 +0000 (22:46 +0000)] 
Maven 2 POM for BeanUtils

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472314 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-64 - Add tests to new ArrayConverter to ensure leading/trailing spaces...
Niall Pemberton [Tue, 7 Nov 2006 08:31:59 +0000 (08:31 +0000)] 
BEANUTILS-64 - Add tests to new ArrayConverter to ensure leading/trailing spaces are not an issue

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@472025 13f79535-47bb-0310-9956-ffa450edef68

15 years agoApplying the improved Exception message from BEANUTILS-224. Thanks to Ralf Hauser
Henri Yandell [Tue, 7 Nov 2006 05:32:04 +0000 (05:32 +0000)] 
Applying the improved Exception message from BEANUTILS-224. Thanks to Ralf Hauser

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471990 13f79535-47bb-0310-9956-ffa450edef68

15 years agojunit.home, commons-logging.home and commons-collections.home are only used to define...
Henri Yandell [Tue, 7 Nov 2006 05:17:20 +0000 (05:17 +0000)] 
junit.home, commons-logging.home and commons-collections.home are only used to define the directories of the jar files; which are then defined as separate variables. Seems pointless, so removing them. Also removing the junit.jar declaration from build.xml, seems pointless given that it's in build.properties.sample.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471988 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdding checkstyle and pmd plugins
Henri Yandell [Tue, 7 Nov 2006 04:58:41 +0000 (04:58 +0000)] 
Adding checkstyle and pmd plugins

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471983 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMinor logging message change
Niall Pemberton [Mon, 6 Nov 2006 11:57:26 +0000 (11:57 +0000)] 
Minor logging message change

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471704 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-41 - Improve error messages - reported by Ralf Hauser
Niall Pemberton [Mon, 6 Nov 2006 11:30:59 +0000 (11:30 +0000)] 
BEANUTILS-41 - Improve error messages - reported by Ralf Hauser

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471699 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChange logging messages from "warn" to "info"
Niall Pemberton [Mon, 6 Nov 2006 10:53:48 +0000 (10:53 +0000)] 
Change logging messages from "warn" to "info"

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471690 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix JDK 1.3 java.sql.Timestamp's getTime() issue and add missing tests to ConverterTe...
Niall Pemberton [Mon, 6 Nov 2006 10:52:49 +0000 (10:52 +0000)] 
Fix JDK 1.3 java.sql.Timestamp's getTime() issue and add missing tests to ConverterTestSuite

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471689 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemoving my @author tag
Henri Yandell [Mon, 6 Nov 2006 04:06:45 +0000 (04:06 +0000)] 
Removing my @author tag

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471628 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-256 - Correct PropertyUtils javadoc to indicate the more general IndexOutOu...
Niall Pemberton [Mon, 6 Nov 2006 04:05:27 +0000 (04:05 +0000)] 
BEANUTILS-256 - Correct PropertyUtils javadoc to indicate the more general IndexOutOufBoundsException can be thrown (rather than just ArrayIndexOutOufBoundsException) - also re-throw any IndexOutOufBoundsException wrapped in an InvocationTargetException rather than just ArrayIndexOutOufBoundsException - thanks to Torsten Feig

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471627 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 Add standard support for conversion to StringBuffer. Plus small refacto...
Niall Pemberton [Mon, 6 Nov 2006 03:55:10 +0000 (03:55 +0000)] 
BEANUTILS-258 Add standard support for conversion to StringBuffer. Plus small refactoring in ArrayConverter

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471625 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd example of configuring Commons Logging in maven
Niall Pemberton [Sun, 5 Nov 2006 03:38:41 +0000 (03:38 +0000)] 
Add example of configuring Commons Logging in maven

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471355 13f79535-47bb-0310-9956-ffa450edef68

15 years agominor javadoc changes
Niall Pemberton [Sun, 5 Nov 2006 03:35:20 +0000 (03:35 +0000)] 
minor javadoc changes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471353 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-255 - Add new generic DateTimeConverter implementation which support java...
Niall Pemberton [Sun, 5 Nov 2006 03:34:09 +0000 (03:34 +0000)] 
BEANUTILS-255 - Add new generic DateTimeConverter implementation which support java.util.Date and java.util.Calendar and switch exisiting java.sql.Date, java.sql.Time and java.sql.Timestamp to use the new implementation. There was some disagreement about whether we should have support for this in BeanUtils (sse comments on JIRA/mailing list) - however, thought I would commit it for review - easily reverted in SVN if there are objections.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471352 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-242 - Add generic ArrayConverter
Niall Pemberton [Sun, 5 Nov 2006 03:13:20 +0000 (03:13 +0000)] 
BEANUTILS-242 - Add generic ArrayConverter

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471351 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - Switch other Converter implementations to use the new AbstractConvert...
Niall Pemberton [Sun, 5 Nov 2006 03:10:58 +0000 (03:10 +0000)] 
BEANUTILS-258 - Switch other Converter implementations to use the new AbstractConverter class and add new JUnit tests for CharacterConverter and ClassConverter

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471350 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-255 - add new Converter implementations to support java.util.Date and java...
Niall Pemberton [Sun, 5 Nov 2006 03:03:59 +0000 (03:03 +0000)] 
BEANUTILS-255 - add new Converter implementations to support java.util.Date and java.util.Calendar.
(I have test cases and also plan to switch the existing java.sql.Date/Time/Timestamp Converters to
use the new generic DateTimeConverter implementation. Holding them back for now to give time for comments)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471349 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - Add new NumberConverter implementation and switch existing number...
Niall Pemberton [Sun, 5 Nov 2006 02:59:26 +0000 (02:59 +0000)] 
BEANUTILS-258 - Add new NumberConverter implementation and switch existing number Converters to use the new implementation.
Updated existing test cases for the new features and added BigDecimal/BigInteger tests. Also fixed an issue in BeanUtilsBean
which revealled itself once Converters start taking the target type into account.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471348 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBEANUTILS-258 - Add new AbstractConverter base implementation
Niall Pemberton [Sun, 5 Nov 2006 02:49:09 +0000 (02:49 +0000)] 
BEANUTILS-258 - Add new AbstractConverter base implementation

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/beanutils/trunk@471345 13f79535-47bb-0310-9956-ffa450edef68