172
I Use This!
Moderate Activity

Commits : Listings

Analyzed about 3 hours ago. based on code collected about 3 hours ago.
Dec 24, 2024 — Dec 24, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Support mapped keys that have periods in them, so that things like this will work correctly: More... over 23 years ago
Add standard String->Class converter, based on a patch provided by Tomas Viberg. The only tweak I did was to make the class loading attempt to grab from the thread context class loader first (if it exists), and then from the class loader that loaded the ClassConverter class. More... over 23 years ago
Support an extension to the property expression syntax that is similar to the way the EL in JSTL and JSP 2.0 works: If property "a" is a Map, interpret "a.b" the same as "a(b)". This is similar to what the JSP/JSTL expression does when interpreting "a.b" as "a['b']" if "a" is a Map. More... over 23 years ago
Update usage documentation to note the restrictions that are due to the fact that the DynaBeans returned by iterator() are mapped directly to the current row of the result set. If you want to use the data outside the context of what is supported, you need to copy it, so document one way to "clone" the data with standard BasicDynaBean beans. More... over 23 years ago
Make DynaProperty serializable. More... over 23 years ago
Add BeanUtils.copyProperties() and associated BeanUtils.copyProperty() method, plus associated unit tests. BeanUtils.copyProperties() is similar to PropertyUtils.copyProperties(), but it attempts to perform type conversions needed to adapt to differences between the two beans. More... over 23 years ago
Remove redundant line in code example. More... over 23 years ago
Initial checkin of a way to wrap DynaBean APIs around the rows in a java.sql.ResultSet, along with associated test cases and docco updates. FIXME - does not support indexed or mapped propeties. More... over 23 years ago
Make PropertyUtils.copyProperties() support a DynaBean as the "orig" argument (it already worked as a "dest" argument). More... over 23 years ago
Make BeanUtils.describe() and PropertyUtils.describe() support DynaBeans. More... over 23 years ago
Add new standard converters (and register them) for String to primitive array conversions (for example, String --> int[]), as well as String --> String[]. The syntax accepted by these converters is similar to that accepted by a Java compiler doing array initializers, with the following adjustments: More... over 23 years ago
Make BooleanConverter accept "y" and "n" for String->Boolean conversions. More... over 23 years ago
Make convert(Object) return null if it is passed a zero-length array, instead of throwing IndexOutOfBoundsException. More... over 23 years ago
Make PropertyUtils.getPropertyType() return the class of the underlying mapped property, analogous to the way it works on indexed properties. More... over 23 years ago
Committed 'NoSuchMethod for read only properties and NullPointer when populating primitives' patch submitted by Tomas Viberg. this is one of those patches that i thought long and hard about committing. this isn't a part of beanutils that i'm particularly familiar with but no one spoke up on the list when i asked so i'm going to back my judgement. if i've got it wrong, i'm sure someone will be kind enough to commit a correction. this patch changes the behaviour of two problematic setProperty issues. when a setProperty was called on a read only method, the previous behaviour was to throw a InvocationTargetException. this patch now returns (after logging). when an primitive property was set with a null, a NullPointerException was throw. now, the null is converted. More... over 23 years ago
Added a new WrapDynaBean derivation, called ConvertingWrapDynaBean which will perform type conversion when the set(name, value) method is called. This is particularly useful when using a DynaBean to wrap a bean and configuring it by passing in Strings. More... over 23 years ago
Made BeanUtils.setProperty() public. This is a useful method for those wishing to set a single property on a bean while still making use of the default conversion mechanism. More... over 23 years ago
Set version number back to development. More... over 23 years ago
Update version number for release. More... over 23 years ago
Include an overview file in the Javadocs since there is now more than one Java package. More... over 23 years ago
Update release notes for 8627. More... over 23 years ago
When doing String->Boolean conversions, recognize "1" and "0" as synonyms for "true" and "false", as is done in XML/Schema and many other programming environments. More... over 23 years ago
Update the comments in PropertyUtils so that the FIXME notes about things that do not support DynaBeans are visible in the JavaDocs, not just the sources. More... over 23 years ago
Update release notes in preparation for a 1.3 release vote. More... over 23 years ago
Fix BeanUtils.populate() so that you can use mapped property selectors in the keys of the map. Added JUnit tests to verify correct operation for both standard JavaBeans and DynaBeans. More... over 23 years ago
Make it possible to specify a default value of null for return on conversion errors. More... over 23 years ago
Make BeanUtils.populate() ignore unmatched property names in *all* circumstances, not just some of them. :-(. More... over 23 years ago
Restore the previous BeanUtils.populate() behavior of simply ignoring property names in the map that do not exist. Otherwise, Struts based apps (which use this to populate the form bean) will have lots of problems. More... over 23 years ago
Remove the old populate() method that was commented out. More... over 23 years ago
Cosmetic changes only. More... over 23 years ago