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

Typo's in DataFlavor Javadoc

XMLWordPrintable

    • b12
    • x86
    • linux

      A DESCRIPTION OF THE PROBLEM :
      Errors include:
      1)
      The class doc ends with the following sentence:

      For more information on *the* using data transfer with Swing see the How to Use Drag and Drop and Data Transfer, section in Java Tutorial.

      2) The following documentation has a "the" repeated in the text. This is repeated in multiple places -

      "humanPresentableName - the human-readable string used to identify this flavor; if this parameter is null then the value of the the MIME Content Type is used "

      "mimeType - the string used to identify the MIME type for this flavor; if the the mimeType does not specify a class= parameter, or if the class is not successfully loaded, then an"

      double ‘the’

      3) In "new DataFlavor(Class:forName(<representation class>)", ‘:’ should be ‘.’


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/javase/6/docs/api/java/awt/datatransfer/DataFlavor.html

            pchelko Petr Pchelko (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: