Type |
Changes |
By |
![Add Add](images/add.gif) |
Add plugable property name expression Resolver. Fixes BEANUTILS-259. |
niallp |
![Update Update](images/update.gif) |
General Converter implementation improvements: New AbstractConverter which provides
a basic structure for Converter implementations and new NumberConverter implementation. Fixes BEANUTILS-258. |
niallp |
![Add Add](images/add.gif) |
Add new generic ArrayConverter implementation. Fixes BEANUTILS-242. |
niallp |
![Add Add](images/add.gif) |
Add new generic DateTimeConverter implementation. Fixes BEANUTILS-255. |
niallp |
![Update Update](images/update.gif) |
Better implementation of SqlDateConverter. Modified SqlDateConverter,
SqlTimeConverter and SqlTimestampConverter to accept java.util.Date
and Calendar object instances. Added tests. Fixes BEANUTILS-239. Thanks to Rafael Afonso. |
vgritsenko |
![Add Add](images/add.gif) |
New Facade converter implementation - hide non-Converter public APIs. Fixes BEANUTILS-286. |
niallp |
![Update Update](images/update.gif) |
Add "t/f" to BooleanConverter. Fixes BEANUTILS-229. |
skitching |
![Update Update](images/update.gif) |
Support Mapped property inside a mapped property. Fixes BEANUTILS-43. Thanks to Firepica and Thomas Jacob. |
niallp |
![Update Update](images/update.gif) |
Support Indexed property inside a mapped property. Fixes BEANUTILS-113. Thanks to Firepica and Ludwig Wensauer. |
niallp |
![Update Update](images/update.gif) |
Support Arrays with multiple dimension. Fixes BEANUTILS-247. Thanks to Christian Poitras, Thomas Jacob and scott sadlo. |
niallp |
![Update Update](images/update.gif) |
Include bean class in the message of PropertyUtilsBean exceptions. Fixes BEANUTILS-207. Thanks to Erik Meade. |
bayard |
![Update Update](images/update.gif) |
Provide better error message for "argument type mismatch". Fixes BEANUTILS-224. Thanks to Ralf Hauser. |
bayard |
![Update Update](images/update.gif) |
Improved messages for unknown properties. Fixes BEANUTILS-30. Thanks to Barry Kaplan. |
bayard |
![Update Update](images/update.gif) |
MethodUtils.invoke for static methods. Fixes BEANUTILS-193. Thanks to Nestor Boscan. |
bayard |
![Update Update](images/update.gif) |
Log or throw exception in PropertyUtilsBean.
Added mechanism to initialize the "cause" on an Exception using reflection for JDK 1.4+
(copied from Commons HttpClient). Fixes BEANUTILS-266. Thanks to Brian Ewins and Commons HttpClient. |
niallp |
![Add Add](images/add.gif) |
Add lazyDynaList. Thanks to Vic Cekvenich. |
niallp |
![Add Add](images/add.gif) |
Provide a Map decorator for a DynaBean (enables DynaBean to be used with other teechnologies such as JSTL). Fixes BEANUTILS-185. Thanks to Gabriel Belingueres. |
niallp |
![Update Update](images/update.gif) |
Implement equals() and hashCode() methods for DynaProperty. Fixes BEANUTILS-233. Thanks to Russell. |
niallp |
![Fix Fix](images/fix.gif) |
BeanUtils's tests fail to compile under JDK 1.6. Fixes BEANUTILS-243. Thanks to Henri Yandell. |
niallp |
![Fix Fix](images/fix.gif) |
Lock in BeanUtilsBean.getInstance(. Fixes BEANUTILS-49. Thanks to Jesper Richter-Reichhelm. |
niallp |
![Fix Fix](images/fix.gif) |
Beanutils's describe() method cannot determine reader methods for anonymous class. Fixes BEANUTILS-157. Thanks to Thorbjorn Ravn Andersen. |
niallp |
![Fix Fix](images/fix.gif) |
Added warning about describe behaviour to the javadocs. Fixes BEANUTILS-158. |
rdonkin |
![Fix Fix](images/fix.gif) |
BeanUtilsBean's setProperty() does not convert objects using custom converters properly. Fixes BEANUTILS-249. Thanks to Brad. |
niallp |
![Fix Fix](images/fix.gif) |
Fix javadoc - IllegalArgumentException in BeanUtils.copyProperties
when property types don't match. Fixes BEANUTILS-17. Thanks to Matthew Sgarlata and Corey Scott. |
niallp |
![Fix Fix](images/fix.gif) |
Writing to a mapped property requires a setter for a map, but never uses it. Fixes BEANUTILS-68. Thanks to Dmitry Platonoff. |
niallp |
![Fix Fix](images/fix.gif) |
BeanUtilsBean.getArrayProperty() does not use ConvertUtils. Fixes BEANUTILS-110. Thanks to Etienne Bernard. |
niallp |
![Fix Fix](images/fix.gif) |
MappedPropertyDescriptor - replace copied code. Fixes BEANUTILS-6. Thanks to Sam Ruby. |
niallp |
![Fix Fix](images/fix.gif) |
MappedPropertyDescriptor: Add comments re: * use of static variable safe in shared
classloader * memory leak possible on webapp undeploy. |
skitching |
![Fix Fix](images/fix.gif) |
MappedPropertyDescriptor doesn't recognize boolean property accessor. Fixes BEANUTILS-69. Thanks to Chris Audley. |
niallp |
![Fix Fix](images/fix.gif) |
Add test for MappedPropertyDescriptor with different types on get/set methods. Fixes BEANUTILS-163. |
niallp |
![Fix Fix](images/fix.gif) |
LocaleBeanUtils setProperty does not work on nested property. Fixes BEANUTILS-140. Thanks to Marco La Porta. |
niallp |
![Fix Fix](images/fix.gif) |
Package scope implementation of a public interface for mapped property fails
(fixed by changes to MappedPropertyDescriptor associated with BEANUTILS-6). Fixes BEANUTILS-87. Thanks to YOKOTA Takehiko. |
niallp |
![Fix Fix](images/fix.gif) |
PropertyUtils incosistency - can't use "dot" in mapped properties for setProperty
or getPropertyDescriptor (fixed by the changes for BEANUTILS-259
Plugable Property Name Expression Resolver). Fixes BEANUTILS-33. Thanks to Eoin Curran. |
niallp |
![Fix Fix](images/fix.gif) |
Public methods overriden in anonymous or private subclasses are not recognized by PropertyUtils. Fixes BEANUTILS-273. Thanks to Marcelo Liberato. |
niallp |
![Fix Fix](images/fix.gif) |
PropertyUtilsBean's isReadable() / isWriteable() always return false for mapped properties. Fixes BEANUTILS-88. Thanks to Chuck Daniels. |
niallp |
![Fix Fix](images/fix.gif) |
PropertyUtilsBean isReadable() and isWriteable() methods do not work correctly for WrapDynaBean. Fixes BEANUTILS-61. Thanks to Brian Ewins. |
niallp |
![Fix Fix](images/fix.gif) |
PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent. Fixes BEANUTILS-18. Thanks to Maarten Coene. |
niallp |
![Fix Fix](images/fix.gif) |
PropertyUtilsBean.copyProperties does not catch NoSuchMethodException. Fixes BEANUTILS-92. Thanks to Will Pugh. |
bayard |
![Fix Fix](images/fix.gif) |
PropertyUtilsBean.getIndexedProperty()'s javadoc should indicate
IndexOutOufBoundsException can be thrown rather than just
ArrayIndexOutOufBoundsException. Fixes BEANUTILS-256. Thanks to Torsten Feig. |
niallp |
![Fix Fix](images/fix.gif) |
Create new methods getPropertyOfMapBean and setPropertyOfMapBean that the existing
setNestedProperty and getNestedProperty methods now call when they discover the bean
they are accessing implements Map. This makes it much easier for users to subclass
and customise this behaviour of PropertyUtilsBean, eg in order to restore pre-1.5 behaviour.
This patch also causes an exception to be thrown when the propertyName passed to
getPropertyOfMapBean or setPropertyOfMapBean has MAPPED_DELIM or INDEXED_DELIM chars in
it. This never worked as expected before (the whole string was treated literally as the
propertyName), so throwing an exception here should not break any existing code. It should
be of help to future developers who make this mistake though... Fixes BEANUTILS-162. |
skitching |
![Fix Fix](images/fix.gif) |
Ignore simple properties on java.util.Map objects -
Map methods are always used on a Map object. Reverts BEANUTILS-144.
See BEANUTILS-162 for discussion. |
skitching |
![Fix Fix](images/fix.gif) |
Correct getPropertyDescriptor() and setNestedProperty() methods to throw
a NestedNullException rather than just IllegalArgumentException (consistent
with the getNestedProperty() method). Fixes BEANUTILS-262. |
niallp |
![Fix Fix](images/fix.gif) |
Problems on indexed property with JDK 1.4. Fixes BEANUTILS-97. |
niallp |
![Update Update](images/update.gif) |
BooleanArrayConverter: Use new AbstractArrayConverter constructors and
Convert strings to booleans by invoking a BooleanConverter rather than
hard-wiring the conversion. |
skitching |
![Update Update](images/update.gif) |
BooleanConverter: Add facility for user to override the default set
of true and false string definitions and provide ability to pass special
NO_DEFAULT object as the "defaultValue" constructor parameter. Thanks to Eric Rizzo. |
skitching |
![Update Update](images/update.gif) |
AbstractArrayConverter: provide ability to pass special NO_DEFAULT object as the
"defaultValue" constructor parameter. |
skitching |
![Fix Fix](images/fix.gif) |
DecimalLocaleConverter and subClasses never throw a ConversionException. Fixes BEANUTILS-78. Thanks to Stefan Lotscher. |
niallp |
![Fix Fix](images/fix.gif) |
FloatLocaleConverter cannot parse negative values. Fixes BEANUTILS-44. Thanks to Paul Jenkins. |
niallp |
![Fix Fix](images/fix.gif) |
Improve ClassConverter robustness. Fixes BEANUTILS-263. Thanks to Alex Albu. |
niallp |
![Fix Fix](images/fix.gif) |
DateLocaleConverter does not always throw an Exception for invalid dates. Fixes BEANUTILS-271. Thanks to Nico Hoogervorst. |
niallp |
![Fix Fix](images/fix.gif) |
Don't try parsing values that are already Dates/Numbers in Date/Number locale Converters. Fixes BEANUTILS-288. |
niallp |
![Fix Fix](images/fix.gif) |
WrapDynaClass: Added comment re potential memory leak, and safety when using
shared classloader |
skitching |
![Fix Fix](images/fix.gif) |
Make WrapDynaBean Serializable. |
niallp |
![Fix Fix](images/fix.gif) |
WrapDynaBeanTestCase failing with jikes/kaffe because of static List in TestBean. Fixes BEANUTILS-36. Thanks to Jack. |
niallp |
![Fix Fix](images/fix.gif) |
Misleading error message in ConvertingWrapDynaBean. Fixes BEANUTILS-23. Thanks to Aslak Hellesoy. |
niallp |
![Fix Fix](images/fix.gif) |
LazyDynaBean: don't try and instantiate properties of type Object.class. Fixes BEANUTILS-24. Thanks to Roi Ares. |
niallp |
![Fix Fix](images/fix.gif) |
LazyDynabean JavaDoc corrections. Fixes BEANUTILS-133. Thanks to Masoud Omidvar. |
niallp |
![Fix Fix](images/fix.gif) |
LazyDynaClass can create a DynaProperty with a "null" type. Fixes BEANUTILS-250. |
niallp |
![Fix Fix](images/fix.gif) |
JDBCDynaClass "lowerCase" option causes problems in RowSetDynaClass and ResultSetIterator. Fixes BEANUTILS-289. |
niallp |
![Fix Fix](images/fix.gif) |
RowSetDynaClass fails to copy ResultSet to DynaBean with Oracle 10g JDBC driver. Fixes BEANUTILS-142. Thanks to Li Zhang. |
niallp |
![Fix Fix](images/fix.gif) |
Fix BeanComparator throws wrong exception and hides cause. Fixes BEANUTILS-241. Thanks to Chris Hyzer. |
bayard |
![Fix Fix](images/fix.gif) |
Deprecate the public static defaultTransformers HashMap and make it unmodifiable. Fixes BEANUTILS-112. Thanks to Simon Kitching. |
niallp |
![Update Update](images/update.gif) |
Merge Bean-Collections back into core BeanUtils and remove Bean-Collections sub-project. Fixes BEANUTILS-290. |
niallp |
![Fix Fix](images/fix.gif) |
Fixi the build to include all the tests and change the build.properties.sample so it's easier
to use for the default maven user (ie: it looks by default in the .maven repository). Fixes BEANUTILS-287. |
bayard |
![Fix Fix](images/fix.gif) |
Improvements to maven build. Fixes BEANUTILS-217. Thanks to Carlos Sanchez. |
niallp |
![Fix Fix](images/fix.gif) |
Add Implementation-Vendor-Id entry to jar's manifest. Fixes BEANUTILS-54. Thanks to Pascal Grange. |
niallp |
![Fix Fix](images/fix.gif) |
Resolve compiler warnings: Unused imports, un-read local variables,
field hiding, empty block, improperly used statics, uncessary semi
colons, unnecessary casts. Fixes BEANUTILS-121. Thanks to Chris Tilden. |
bayard |
![Fix Fix](images/fix.gif) |
Replace use of static Log objects with instance or local variables. It isn't safe
to use static Log objects in code that might be deployed via a shared classloader
as they will bind to the Log object from the context classloader in use when the
first use happens. |
skitching |
![Fix Fix](images/fix.gif) |
BeanMap: Fix internal variable to not include non-existant write methods.
- ported from Commons Collections. Fixes COLLECTIONS-22. Thanks to Dimiter Dimitrov. |
scolebourne |
![Update Update](images/update.gif) |
Change MethodUtils to make getMatchingAccessibleMethod() method selection more
rational. Thanks to Steve Cohen. |
rdonkin |