commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r469729 - /jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
Date Wed, 01 Nov 2006 01:10:04 GMT
Author: bayard
Date: Tue Oct 31 17:10:04 2006
New Revision: 469729

URL: http://svn.apache.org/viewvc?view=rev&rev=469729
Log:
Applied the local-variable-not-read-warning-fix.patch  from #BEANUTILS-121

Modified:
    jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java?view=diff&rev=469729&r1=469728&r2=469729
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
(original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
Tue Oct 31 17:10:04 2006
@@ -157,7 +157,6 @@
         if (log.isDebugEnabled()) {
             log.debug("Cloning bean: " + bean.getClass().getName());
         }
-        Class clazz = bean.getClass();
         Object newBean = null;
         if (bean instanceof DynaBean) {
             newBean = ((DynaBean) bean).getDynaClass().newInstance();



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message