commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bug #12637] FeatureDescriptor's displayName and shortDescri


From: Jeff Myers
Subject: [commit-cp] [bug #12637] FeatureDescriptor's displayName and shortDescription should have defaults
Date: Sun, 10 Apr 2005 19:41:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12637>

                 Summary: FeatureDescriptor's displayName and
shortDescription should have defaults
                 Project: classpath
            Submitted by: myersj
            Submitted on: Sun 04/10/2005 at 19:41
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12637>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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