commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r812178 - /commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
Date Mon, 07 Sep 2009 15:03:40 GMT
Author: sebb
Date: Mon Sep  7 15:03:39 2009
New Revision: 812178

URL: http://svn.apache.org/viewvc?rev=812178&view=rev
Log:
bean cannot be null

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

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java?rev=812178&r1=812177&r2=812178&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
Mon Sep  7 15:03:39 2009
@@ -905,7 +905,7 @@
 
         // Look up and return this property from our cache
         // creating and adding it to the cache if not found.
-        if ((bean == null) || (name == null)) {
+        if (name == null) {
             return (null);
         }
         



Mime
View raw message