bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22908] FeatureDescriptor's displayName and shortDescripti


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22908] FeatureDescriptor's displayName and shortDescription should have defaults
Date: 16 Oct 2005 01:27:38 -0000

In java.beans.FeatureDescriptor, the getDisplayName() method should default to
the getName() value if the displayName hasn't been defined.  The
getShortDescription() method should default to the getDisplayName() value if
the shortDescription hasn't been defined.  This is specified in the Javadoc for
FeatureDescriptor:
http://java.sun.com/j2se/1.4.2/docs/api/java/beans/FeatureDescriptor.html#getDisplayName()

So in essence, getDisplayName() and getShortDescription() should never return
null if getName() has a value.  The Classpath implementation just returns the
displayName and shortDescription value, even if they are null.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-04-18 
22:19 -------
Its mine. :)


------- Comment #2 from from-classpath at savannah dot gnu dot org  2005-04-28 
21:22 -------
The problem will be fixed in 0.15

Mauve test will be added soon.


------- Comment #3 from from-classpath at savannah dot gnu dot org  2005-06-17 
00:14 -------
Mauve test is in. Closing bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22908





reply via email to

[Prev in Thread] Current Thread [Next in Thread]