Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4940046

javax.sql.rowset.BaseRowSet.getDataSourceName(): two @return tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • docs
    • beta2
    • sparc
    • solaris_2.6
    • Verified



      Name: sdR10048 Date: 10/18/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b23"

      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
          /**
           * Returns the logical name that when supplied to a naming service
           * that uses the Java Naming and Directory Interface (JNDI) API, will
           * retrieve a <code>javax.sql.DataSource</code> object. This
           * <code>DataSource</code> object can be used to establish a connection
           * to the data source that it represents.
           * <P>
           * Users should set either the url or the data source name property.
           * The driver will use the property set most recently to establish a
           * connection.
           *
           * @return a <code>String</code> object that identifies a
           * <code>DataSource</code> object to be used for making a connection
           *
           * @return a <code>String</code> object, which is the logical name of
           * a data source, that can be supplied to a
           * JNDI naming service to retrieve the <code>DataSource</code>
           * object for which it is the logical name
           */
          public String getDataSourceName() {
              return dataSource;
          }
      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The designated method's javadoc contains a typo:
      two @return tags.
      Javadoc tool ignores the second @return during html spec building.


      ======================================================================

            mfishersunw Maydene Fisher (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: