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
Robert made me :) More... almost 22 years ago
Applying patch supplied by dimiter at blue-edge dot bg In case you're interested here is a patch containing JavaDoc for the ConstructorUtils class. It's not perfect and I have borrowed some parts from the MethodUtils, but I hope it's better than nothing :). More... almost 22 years ago
Use BeanUtils.copyProperty() intead of BeanUtils.setProperty() so that Object->Object conversions -- via registered Converters, if any, are done. More... almost 22 years ago
Add tests for BeanUtils.copyProperty() with type conversion. In this case, double-->integraltype and float-->integraltype conversions work fine because no intermediate conversion to String is performed. This method (copyProperty) is what should be used for general type conversion, so the restriction on BeanUtils.setProperty() is a non-issue and the version 1.6 release of commons-beanutils is OK. More... almost 22 years ago
Add tests for narrowing and widening conversions (such as int->long and long->int) on BeanUtils.setProperty(). More... almost 22 years ago
Testing for a specific (English-language) text of an exception message is absolutely and totally bogus. More... almost 22 years ago
Updated the version number in the build files to 1.7-dev. More... almost 22 years ago
Updated status to reflect 1.6 release More... almost 22 years ago
Corrected year More... almost 22 years ago
add links for 1.4, 1.4.1 and 1.5 releases More... almost 22 years ago
Preparation for beanutils 1.6 release More... almost 22 years ago
Updated copyright year in licenses in preparation for 1.6 release More... almost 22 years ago
Updated manefest in preparation for 1.6 release More... almost 22 years ago
Updated release notes in preparation for 1.6 release. More... almost 22 years ago
I've been against this change for sometime so I guess that's a little ironic that i end up committing it. This is useful for users and being able to replace MethodUtils with the improved version in lang is looking a long way off still. More... almost 22 years ago
Fix for bug#15888. A lenient property was added to DateLocaleConverter that allows the lenient property to be set on the DateFormat used to parse the convertion. Also added a test case. More... almost 22 years ago
The java 1.3 JVM (I run on) throws a ClassNotFoundException whenever primitive type classes (eg Double.TYPE) are deserialized. This means that DynaProperty serialization often fails. This is a workaround for this problem. The standard serialization mechanism is replaced by a custom implementation which serialization the primitive type classes using ints. I haven't tested it on later JVMs so I'd be grateful if people out there could find the time to update and run the tests on their platform just to ensure i haven't broken things for anyone else. More... almost 22 years ago
Fix line ends. More... almost 22 years ago
Copy the local "LICENSE.txt" file instead of the parent "../LICENSE" file. More... almost 22 years ago
Update the beanutils docs to talk about the new RowSetDynaClass implementation, and fix a typo in the class JavaDocs. More... almost 22 years ago
RowSetDynaClass is a way to represent the results of an SQL "SELECT" statement as a "disconnected row set" (in JDBC terminology). Its function is to copy the results of a query (represented as a JDBC ResultSet or RowSet object that is passed to its constructor) into an in-memory List of the matching rows. Once the RowSetDynaClass instance has been created, the ResultSet/RowSet instance (and its corresponding Statement and Connection) can be closed and/or returned to the connection pool (if any). More... almost 22 years ago
Remove a mistakenly leftover debugging message, and properly nest some others. More... about 22 years ago
Check for null "new" values in setProperty() appropriately, to avoid NPEs. More... about 22 years ago
Make the implementation of ConvertUtils.convert(Object) use the registered Converter for java.lang.String instead of just doing a toString() operation. This allows applications to plug in custom Object->String conversion capabilities, although such a Converter would need to handle *all* required conversions, instead of just one. The default implementation continues to use toString(), preserving backwards compatibility. More... about 22 years ago
Enhance the behavior of BeanUtils.setProperty() such that, if the destination property is a String and there is a registered Converter for the value's class, the value's toString() method will be called, followed by conversion to the appropriate destination type. Among other things, this makes it possible to pass in a primitive wrapper type (such as Integer) and have it converted to a String. More... about 22 years ago
Fix a test failure introduced when I made BasicDynaBean and BasicDynaClass serializable. Memo to self -- run *all* the unit tests before a checkin, not just the one for the class you are modifying :-(. More... about 22 years ago
Make BasicDynaBean and BasicDynaClass implement Serializable, including a JUnit test case method that ensures successful operation. Based on a suggested patch included in the bug report (but with a slightly altered technique). More... about 22 years ago
Make it possible to select an operational mode where column names are *not* lower cased when being converted into DynaBean property names. Because different JDBC drivers behave differently with regards to the case of the column names they return, using this mode will make your application dependent upon the behavior of your particular JDBC driver. However, there are some circumstances when consciously selecting such dependence is necessary. More... about 22 years ago
Optimize the behavior of BeanUtils.copyProperties() and PropertyUtils.copyProperties() to only get the origin property and set the destination property if: - Origin property is readable - Destination property is writeable More... about 22 years ago
Improve the performance of getArrayProperty() by using an array as the destination, rather than an ArrayList that is then converted to an array. More... about 22 years ago