You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2002/11/19 21:20:08 UTC
cvs commit: jakarta-commons/beanutils/src/java/org/apache/commons/beanutils BeanUtils.java
rdonkin 2002/11/19 12:20:08
Modified: beanutils/src/java/org/apache/commons/beanutils
BeanUtils.java
Log:
Fixed bug #14620. Fix proposed by larry hamel.
Revision Changes Path
1.27 +9 -7 jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java
Index: BeanUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- BeanUtils.java 21 Jul 2002 00:20:44 -0000 1.26
+++ BeanUtils.java 19 Nov 2002 20:20:08 -0000 1.27
@@ -395,13 +395,15 @@
throws IllegalAccessException, InvocationTargetException,
NoSuchMethodException {
- if (log.isDebugEnabled()) {
- log.debug("Describing bean: " + bean.getClass().getName());
- }
if (bean == null) {
// return (Collections.EMPTY_MAP);
return (new java.util.HashMap());
}
+
+ if (log.isDebugEnabled()) {
+ log.debug("Describing bean: " + bean.getClass().getName());
+ }
+
Map description = new HashMap();
if (bean instanceof DynaBean) {
DynaProperty descriptors[] =
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>