171
I Use This!
Activity Not Available

Commits : Listings

Analyzed 12 months ago. based on code collected 12 months ago.
Jan 16, 2023 — Jan 16, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
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 22 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 22 years ago
Make DynaProperty serializable. More... over 22 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 22 years ago
Remove redundant line in code example. More... over 22 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 22 years ago
Make PropertyUtils.copyProperties() support a DynaBean as the "orig" argument (it already worked as a "dest" argument). More... over 22 years ago
Make BeanUtils.describe() and PropertyUtils.describe() support DynaBeans. More... over 22 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 22 years ago
Make BooleanConverter accept "y" and "n" for String->Boolean conversions. More... over 22 years ago
Make convert(Object) return null if it is passed a zero-length array, instead of throwing IndexOutOfBoundsException. More... over 22 years ago
Make PropertyUtils.getPropertyType() return the class of the underlying mapped property, analogous to the way it works on indexed properties. More... over 22 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 22 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 22 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 22 years ago
Set version number back to development. More... over 22 years ago
Update version number for release. More... over 22 years ago
Include an overview file in the Javadocs since there is now more than one Java package. More... over 22 years ago
Update release notes for 8627. More... over 22 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 22 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 22 years ago
Update release notes in preparation for a 1.3 release vote. More... over 22 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 22 years ago
Make it possible to specify a default value of null for return on conversion errors. More... over 22 years ago
Make BeanUtils.populate() ignore unmatched property names in *all* circumstances, not just some of them. :-(. More... over 22 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 22 years ago
Remove the old populate() method that was commented out. More... over 22 years ago
Cosmetic changes only. More... over 22 years ago
Refactor and fix BeanUtils.populate() so that it will correctly set nested properties on DynaBeans. I did not use the proposed patch (but thanks anyway!) for two reasons: More... over 22 years ago
Fixed bug 7740. Klaasjan Brand supplied a patch which was very helpful in locating the problem but a slightly different patch was committed mainly for stylistic reasons. Also added extra tests covering the cause of failure. Also corrected another coding mistake (again mea culpa) in the same passage of code. More... over 22 years ago