harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r395801 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
Date Fri, 21 Apr 2006 07:04:24 GMT
Author: mloenko
Date: Fri Apr 21 00:04:23 2006
New Revision: 395801

URL: http://svn.apache.org/viewcvs?rev=395801&view=rev
Log:
Applying the second patch from HARMONY-237 to remaining methods

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java?rev=395801&r1=395800&r2=395801&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/PropertyDescriptor.java
Fri Apr 21 00:04:23 2006
@@ -72,7 +72,7 @@
     public PropertyDescriptor(String propertyName, Method getter, Method setter)
             throws IntrospectionException {
         super();
-        if (propertyName == null) {
+        if (propertyName == null || propertyName.length() == 0) {
             throw new IntrospectionException("bad property name");
         }
 



Mime
View raw message