openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
Apache Commons BeanUtils
Settings
|
Report Duplicate
171
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Activity Not Available
Commits
: Listings
Analyzed
12 months
ago. based on code collected
12 months
ago.
Jan 16, 2023 — Jan 16, 2024
Showing page 56 of 60
Search / Filter on:
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.
Craig R. McClanahan
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.
Craig R. McClanahan
More...
over 22 years ago
Make DynaProperty serializable.
Craig R. McClanahan
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.
Craig R. McClanahan
More...
over 22 years ago
Remove redundant line in code example.
Craig R. McClanahan
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.
Craig R. McClanahan
More...
over 22 years ago
Make PropertyUtils.copyProperties() support a DynaBean as the "orig" argument (it already worked as a "dest" argument).
Craig R. McClanahan
More...
over 22 years ago
Make BeanUtils.describe() and PropertyUtils.describe() support DynaBeans.
Craig R. McClanahan
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:
Craig R. McClanahan
More...
over 22 years ago
Make BooleanConverter accept "y" and "n" for String->Boolean conversions.
Craig R. McClanahan
More...
over 22 years ago
Make convert(Object) return null if it is passed a zero-length array, instead of throwing IndexOutOfBoundsException.
Craig R. McClanahan
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.
Craig R. McClanahan
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.
Robert Burrell Donkin
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.
James Strachan
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.
James Strachan
More...
over 22 years ago
Set version number back to development.
Craig R. McClanahan
More...
over 22 years ago
Update version number for release.
Craig R. McClanahan
More...
over 22 years ago
Include an overview file in the Javadocs since there is now more than one Java package.
Craig R. McClanahan
More...
over 22 years ago
Update release notes for 8627.
Craig R. McClanahan
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.
Craig R. McClanahan
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.
Craig R. McClanahan
More...
over 22 years ago
Update release notes in preparation for a 1.3 release vote.
Craig R. McClanahan
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.
Craig R. McClanahan
More...
over 22 years ago
Make it possible to specify a default value of null for return on conversion errors.
Craig R. McClanahan
More...
over 22 years ago
Make BeanUtils.populate() ignore unmatched property names in *all* circumstances, not just some of them. :-(.
Craig R. McClanahan
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.
Craig R. McClanahan
More...
over 22 years ago
Remove the old populate() method that was commented out.
Craig R. McClanahan
More...
over 22 years ago
Cosmetic changes only.
Craig R. McClanahan
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:
Craig R. McClanahan
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.
Robert Burrell Donkin
More...
over 22 years ago
←
1
2
…
52
53
54
55
56
57
58
59
60
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree