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

silly little typo in javadoc for FileDataSource.getInputStream

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.0fcs
    • alpha
    • other-libs
    • None
    • 1.0fcs
    • generic
    • solaris_2.6
    • Verified

        javadoc for FileDataSource.getInputStream:
            /**
             * This method will return an <code>InputStream</code> representing the
             * the data and will throw the appropriate exception if it can
             * not do so. Currently implemented to throw a new <code>InputStream</code>
             * with each invocation.
             *
             * @return an InputStream
             */

        In the last sentence, you have "implemented to throw a new <code>InputStream<code>"
        I assume you mean "..return a new...."

              duke J. Duke
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: